summaryrefslogtreecommitdiff
path: root/plugins/wimax/msg_dreg.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/msg_dreg.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/msg_dreg.c')
-rw-r--r--plugins/wimax/msg_dreg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/wimax/msg_dreg.c b/plugins/wimax/msg_dreg.c
index 9217e6485f..aaf13332f5 100644
--- a/plugins/wimax/msg_dreg.c
+++ b/plugins/wimax/msg_dreg.c
@@ -148,12 +148,6 @@ Action Code 03 cancels this restriction"},
/* Decode sub-TLV's of either DREG-REQ or DREG-CMD. */
static void dissect_dreg_tlv(proto_tree *dreg_tree, gint tlv_type, tvbuff_t *tvb, guint tlv_offset, guint tlv_len)
{
- guint tvb_len;
- /*guint tlv_len;*/
-
- /* Get the tvb reported length */
- tvb_len = tvb_reported_length(tvb);
-
switch (tlv_type) {
case DREG_PAGING_INFO:
proto_tree_add_item(dreg_tree, hf_dreg_paging_cycle, tvb, tlv_offset, 2, FALSE);