aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-11-12 11:49:37 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-11-12 11:49:37 +0000
commit0f0f260fb47878d94a12c2176d54c476a58c0bbb (patch)
tree2dbc87e3e7e7b229200cede4581f69fe8c9bdc04 /plugins
parent264975e29caccc976045ac04887e43107c172dec (diff)
fix [-Wunused-but-set-variable]
svn path=/trunk/; revision=39802
Diffstat (limited to 'plugins')
-rw-r--r--plugins/asn1/packet-asn1.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index e9fa38d71a..2e864b721d 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -1784,7 +1784,6 @@ parse_tt3(tvbuff_t *tvb, guint offset, guint size, guint level, GNode *ptr)
gboolean def;
guchar *octets, *bits, unused;
subid_t *oid;
- const char *clsstr, *constr, *tagstr;
char tagbuf[BUFLM];
char lenbuf[BUFLM];
GNode *cur_node = 0;
@@ -1802,13 +1801,9 @@ parse_tt3(tvbuff_t *tvb, guint offset, guint size, guint level, GNode *ptr)
ret = asn1_header_decode(&asn1, &cls, &con, &tag, &def, &len);
asn1_close(&asn1, (gint *)&offset); /* mark where we are */
icount++;
- clsstr = asn1_cls[cls];
- constr = asn1_con[con];
if ((cls == BER_CLASS_UNI) && ( tag < 32 )) {
- tagstr = asn1_tag[tag];
} else {
g_snprintf(tagbuf, sizeof(tagbuf), "tag%d", tag);
- tagstr = tagbuf;
}
if (def) {
g_snprintf(lenbuf, sizeof(lenbuf), "%d", len);
@@ -1886,7 +1881,6 @@ parse_tt3(tvbuff_t *tvb, guint offset, guint size, guint level, GNode *ptr)
break;
case BER_CLASS_CON: /* fprintf(stderr, "Context\n"); */
- tagstr = tagbuf;
g_snprintf(tagbuf, sizeof(tagbuf), "TAG%d", tag);
if (def && !con) {
/* defined length, not constructed, must be a string.... */