summaryrefslogtreecommitdiff
path: root/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-07-21 19:10:10 +0000
committerBill Meier <wmeier@newsguy.com>2011-07-21 19:10:10 +0000
commitf161dc95fa963b122aa476dd7be5e0275433558c (patch)
treeab625cb13b8ef7802f30dcf0a634d26744c2a92b /plugins/wimax/wimax_compact_ulmap_ie_decoder.c
parentf298effccd5b7e900a4893ccfcc1c0a8a5826c4c (diff)
downloadwireshark-f161dc95fa963b122aa476dd7be5e0275433558c.tar.gz
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38150
Diffstat (limited to 'plugins/wimax/wimax_compact_ulmap_ie_decoder.c')
-rw-r--r--plugins/wimax/wimax_compact_ulmap_ie_decoder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/wimax/wimax_compact_ulmap_ie_decoder.c b/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
index f389c825cd..6fdc27fd96 100644
--- a/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
+++ b/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
@@ -1197,14 +1197,10 @@ static guint wimax_culmap_extension_ie_decoder(proto_tree *tree, packet_info *pi
/* 8.4.5.4.3 (table 290) */
guint wimax_cdma_allocation_ie_decoder(proto_tree *tree, packet_info *pinfo _U_, tvbuff_t *tvb, guint offset, guint nibble_offset)
{
- guint byte;
-
#ifdef DEBUG
/* update the info column */
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "CDMA Allocation IE");
#endif
- /* Get the first byte */
- byte = tvb_get_guint8(tvb, offset);
if(nibble_offset & 1)
{ /* display the Duration */
proto_tree_add_item(tree, hf_cdma_allocation_duration_1, tvb, offset, 2, FALSE);