diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-08 14:57:16 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-08 14:57:16 +0000 |
commit | a73f6dd5a28f2b40173823762be836765ed949b3 (patch) | |
tree | 79a55cfcef9046818ee21bb576dff6283321f146 /epan/dissectors/packet-gmr1_bcch.c | |
parent | 58731ab376ad0eba0d14440837b4ecc9c1f71576 (diff) |
Fix set-but-not-used warnings turned errors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40931 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gmr1_bcch.c')
-rw-r--r-- | epan/dissectors/packet-gmr1_bcch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gmr1_bcch.c b/epan/dissectors/packet-gmr1_bcch.c index 70aa1bc5e1..c160d9e466 100644 --- a/epan/dissectors/packet-gmr1_bcch.c +++ b/epan/dissectors/packet-gmr1_bcch.c @@ -999,8 +999,8 @@ static const value_string si1_randomization_period_vals[] = { static void dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - proto_item *bcch_item = NULL; - proto_tree *bcch_tree = NULL; + /* proto_item *bcch_item = NULL; */ + /* proto_tree *bcch_tree = NULL; */ csnStream_t ar; gboolean is_si1; @@ -1008,11 +1008,11 @@ dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) is_si1 = tvb_get_bits8(tvb, 0, 5) & 1; - bcch_item = proto_tree_add_protocol_format( + /* bcch_item = */ proto_tree_add_protocol_format( tree, proto_gmr1_bcch, tvb, 0, -1, "GMR-1 BCCH - System Information type %d", is_si1 ? 1 : 2 ); - bcch_tree = proto_item_add_subtree(bcch_item, ett_gmr1_bcch); + /* bcch_tree = proto_item_add_subtree(bcch_item, ett_gmr1_bcch); */ csnStreamInit(&ar, 0, tvb_length(tvb)*8); #if 0 |