aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_ulmap.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2011-01-19 22:53:46 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2011-01-19 22:53:46 +0000
commitc5c0a0d943fe8c0551fb07cdd2b6e99c0c4d0c0a (patch)
tree2f3af28fbfe7540fc914750baf6e6af88df9ed0c /plugins/wimax/msg_ulmap.c
parentc732e15d7791aaa4006d3dbc7794e86adf94db3c (diff)
Use Wireshark standard marking for unused parameters.
svn path=/trunk/; revision=35590
Diffstat (limited to 'plugins/wimax/msg_ulmap.c')
-rw-r--r--plugins/wimax/msg_ulmap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/wimax/msg_ulmap.c b/plugins/wimax/msg_ulmap.c
index 89f0b9ba38..cb5113967d 100644
--- a/plugins/wimax/msg_ulmap.c
+++ b/plugins/wimax/msg_ulmap.c
@@ -1601,7 +1601,7 @@ void lshift_bits(guint8 *buffer, gint bytes, gint bits)
-gint dissect_ulmap_ie( proto_tree *ie_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
+gint dissect_ulmap_ie( proto_tree *ie_tree, const guint8 *bufptr, gint offset, gint length _U_, tvbuff_t *tvb)
{
/* decode a single UL-MAP IE and return the
* length of the IE in nibbles
@@ -1617,8 +1617,6 @@ gint dissect_ulmap_ie( proto_tree *ie_tree, const guint8 *bufptr, gint offset, g
nibble = offset;
- UNREFERENCED_PARAMETER(length);
-
/* 8.4.5.4 UL-MAP IE format - table 287 */
cid = NIB_WORD(nibble, bufptr);
uiuc = NIB_NIBBLE(nibble + 4, bufptr);
@@ -1898,7 +1896,7 @@ gint dissect_ulmap_ie( proto_tree *ie_tree, const guint8 *bufptr, gint offset, g
return (nibble - offset);
}
-void dissect_mac_mgmt_msg_ulmap_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+void dissect_mac_mgmt_msg_ulmap_decoder(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
{
/* 6.3.2.3.4 [2] UL-MAP table 18 */
guint offset = 0;
@@ -1914,8 +1912,6 @@ void dissect_mac_mgmt_msg_ulmap_decoder(tvbuff_t *tvb, packet_info *pinfo, proto
/* XXX This should be removed, and regular tvb accessors should be used instead. */
bufptr = tvb_get_ptr(tvb, offset, tvb_len);
- UNREFERENCED_PARAMETER(pinfo);
-
/* display MAC UL-MAP */
ti = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_ulmap_decoder, tvb, offset, tvb_len, "UL-MAP (%u bytes)", tvb_len);
ulmap_tree = proto_item_add_subtree(ti, ett_ulmap);