diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-19 18:47:35 +0000 |
commit | d2269ce7d563c9343f4b71da4cd09bc6fb5080e7 (patch) | |
tree | 1bb1d49e5bd617abce454558411c1a7e0c4c4722 /epan/dissectors/packet-dec-bpdu.c | |
parent | dfdeeb559535e20b78112405baf3d4f87fe2a961 (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=37716
Diffstat (limited to 'epan/dissectors/packet-dec-bpdu.c')
-rw-r--r-- | epan/dissectors/packet-dec-bpdu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dec-bpdu.c b/epan/dissectors/packet-dec-bpdu.c index 6fbbd6a1f1..b54b341033 100644 --- a/epan/dissectors/packet-dec-bpdu.c +++ b/epan/dissectors/packet-dec-bpdu.c @@ -108,7 +108,6 @@ static const char cont_sep[] = ", "; static void dissect_dec_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - guint8 protocol_version; guint8 bpdu_type; guint8 flags; proto_tree *bpdu_tree; @@ -134,8 +133,6 @@ dissect_dec_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) FALSE); bpdu_tree = proto_item_add_subtree(ti, ett_dec_bpdu); - protocol_version = tvb_get_guint8(tvb, BPDU_VERSION); - proto_tree_add_item(bpdu_tree, hf_dec_bpdu_proto_id, tvb, BPDU_DEC_CODE, 1, FALSE); |