aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-31 21:02:46 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-01 05:03:45 +0000
commita4019a357bfa9492fd2a4f35bb97a25eb2af9fe8 (patch)
tree229f112cb93dab7e4150611062219f2a3bddb188 /plugins
parent21697af636ef3b8d395e8bb0eb97a16fcd2ddd90 (diff)
Rename a variable to avoid a compiler warning.
(Thanks, IBM and AT&T.) Change-Id: Ifcffd4937f90ca466c01ebc4f3e3bd8555a9b078 Reviewed-on: https://code.wireshark.org/review/6198 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wimax/msg_ulmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wimax/msg_ulmap.c b/plugins/wimax/msg_ulmap.c
index 0ef69a14e9..7499fcb780 100644
--- a/plugins/wimax/msg_ulmap.c
+++ b/plugins/wimax/msg_ulmap.c
@@ -999,7 +999,7 @@ static gint Mini_Subchannel_allocation_IE(proto_tree *uiuc_tree, gint offset, gi
/* offset of TLV in nibbles, length of TLV in nibbles */
gint bit;
gint data;
- guint index;
+ guint idx;
proto_item *tree;
gint j, M;
const gint m_table[4] = { 2, 2, 3, 6 };
@@ -1011,8 +1011,8 @@ static gint Mini_Subchannel_allocation_IE(proto_tree *uiuc_tree, gint offset, gi
XBIT_HF(4, hf_ulmap_mini_subcha_alloc_extended_2_uiuc);
XBIT_HF(8, hf_ulmap_mini_subcha_alloc_length);
- XBIT_HF_VALUE(index, 2, hf_ulmap_mini_subcha_alloc_ctype);
- M = m_table[index];
+ XBIT_HF_VALUE(idx, 2, hf_ulmap_mini_subcha_alloc_ctype);
+ M = m_table[idx];
XBIT_HF(6, hf_ulmap_mini_subcha_alloc_duration);
for (j = 0; j < M; j++) {