diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-04-27 16:34:37 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-04-27 16:34:37 +0000 |
commit | abf57a9af238131b46aea06438ec030f3822c19a (patch) | |
tree | bf6c0bf0dfa7b535a4f8b07046fd00d044402f17 /epan/dissectors/packet-ansi_a.c | |
parent | 77d86cadf56ee6bdb86272d7306d3763a16547f2 (diff) |
From Yaniv Kaul:
Some fixes for 'set but not used' errors that GCC 4.6 emits.
svn path=/trunk/; revision=36903
Diffstat (limited to 'epan/dissectors/packet-ansi_a.c')
-rw-r--r-- | epan/dissectors/packet-ansi_a.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index 858a1790cf..9db91cd370 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -3358,7 +3358,7 @@ elem_info_rec_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gc guint8 num_recs; guint32 curr_offset; const gchar *str; - gint ett_elem_idx, idx; + gint idx; curr_offset = offset; @@ -3375,11 +3375,6 @@ elem_info_rec_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gc if (str == NULL) { str = "Reserved"; - ett_elem_idx = ett_ansi_ms_info_rec_reserved; - } - else - { - ett_elem_idx = ett_ansi_rev_ms_info_rec[idx]; } proto_tree_add_text(tree, |