summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-10-25 15:23:28 +0200
committerSimon Josefsson <simon@josefsson.org>2011-10-25 15:23:28 +0200
commit26da37cb350ad84d3088cf1b07b15cf9d345edb1 (patch)
tree8e7dc82fb9cef7bbbfda194ce5a3097b6df82714
parent8e2ed4c2a39ffc90872b598e854cef89e6d91151 (diff)
downloadlibtasn1-26da37cb350ad84d3088cf1b07b15cf9d345edb1.tar.gz
libtasn1-26da37cb350ad84d3088cf1b07b15cf9d345edb1.tar.bz2
libtasn1-26da37cb350ad84d3088cf1b07b15cf9d345edb1.zip
Remove unused variable.
-rw-r--r--lib/decoding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/decoding.c b/lib/decoding.c
index 54a4c9f..3849375 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -1367,7 +1367,7 @@ asn1_der_decoding_element (ASN1_TYPE * structure, const char *elementName,
char temp[128], currentName[ASN1_MAX_NAME_SIZE * 10], *dot_p, *char_p;
int nameLen = ASN1_MAX_NAME_SIZE * 10 - 1, state;
int counter, len2, len3, len4, move, ris, tlen;
- unsigned char class, *temp2;
+ unsigned char class;
unsigned long tag;
int indefinite, result;
const unsigned char *der = ider;
@@ -1921,7 +1921,6 @@ asn1_der_decoding_element (ASN1_TYPE * structure, const char *elementName,
if (state == FOUND)
{
_asn1_set_value_octet (p, der + counter, len2 + len3);
- temp2 = NULL;
if (p == nodeFound)
state = EXIT;