diff options
author | Evan Huus <eapache@gmail.com> | 2012-09-23 12:45:03 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-09-23 12:45:03 +0000 |
commit | a9bb9186dd205013cf5874e0ee841569e4221b3b (patch) | |
tree | 06ec016463b31a9cbe61617e51b33774f2229b8e /epan/dissectors/packet-cops.c | |
parent | 2fc1cdeb74456f65701481bca2741fe6b07b3339 (diff) |
Fix some unused variable warnings from GCC.
svn path=/trunk/; revision=45064
Diffstat (limited to 'epan/dissectors/packet-cops.c')
-rw-r--r-- | epan/dissectors/packet-cops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cops.c b/epan/dissectors/packet-cops.c index 80586d97af..4eeac3f4b7 100644 --- a/epan/dissectors/packet-cops.c +++ b/epan/dissectors/packet-cops.c @@ -3215,14 +3215,12 @@ static int cops_mm_gate_spec(tvbuff_t *tvb, proto_tree *st, guint n, guint32 offset) { proto_item *ti; proto_tree *stt, *object_tree; - guint8 gs_flags; /* Create a subtree */ stt = info_to_cops_subtree(tvb,st,n,offset,"Gate Spec"); offset += 4; /* Flags */ - gs_flags = tvb_get_guint8(tvb, offset); ti = info_to_display(tvb,stt,offset,1,"Flags",NULL,FMT_HEX,&hf_cops_pcmm_gate_spec_flags); object_tree = proto_item_add_subtree(ti, ett_cops_subtree ); proto_tree_add_item(object_tree, hf_cops_pcmm_gate_spec_flags_gate, tvb, offset, 1, ENC_BIG_ENDIAN); |