diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-07-22 18:33:44 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-07-22 18:33:44 +0000 |
commit | c67363e4def37f263d4727d757ef715e2c38ad76 (patch) | |
tree | 14820f02153333a4f325a5b796d5c5adc49c09e5 /epan/dissectors/packet-gsm_a_bssmap.c | |
parent | 3eacf88183bbbec11103080b13eb51a4197f3338 (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38170
Diffstat (limited to 'epan/dissectors/packet-gsm_a_bssmap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_bssmap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index f7b6c03474..22d3f96bb1 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -2315,13 +2315,10 @@ static const value_string gsm_a_bssmap_trace_invoking_event_vals[] = { static guint16 be_chosen_chan(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) { - guint8 oct; guint32 curr_offset; curr_offset = offset; - oct = tvb_get_guint8(tvb, curr_offset); - /* Channel mode */ proto_tree_add_item(tree, hf_gsm_a_bssmap_ch_mode, tvb, curr_offset, 1, ENC_BIG_ENDIAN); @@ -2654,13 +2651,10 @@ be_cct_pool(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 off static guint16 be_curr_chan_1(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) { - guint8 oct; guint32 curr_offset; curr_offset = offset; - oct = tvb_get_guint8(tvb, curr_offset); - /* Channel mode */ proto_tree_add_item(tree, hf_gsm_a_bssmap_cur_ch_mode, tvb, curr_offset, 1, ENC_BIG_ENDIAN); /* Channel */ |