Don't use 'tt' uninitialized when reporting an error
[openssl.git] / crypto / asn1 / tasn_dec.c
index 7536bc8cb3774fdd005a56ee810ce2d2fcbd0203..7237f7e93cec76e7fed8ec4b946bfa80aa21383f 100644 (file)
@@ -231,7 +231,6 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1
                /* Allocate structure */
                if(!*pval) {
                        if(!ASN1_item_ex_new(pval, it)) {
-                               errtt = tt;
                                ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
                                goto err;
                        }