diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2011-01-19 22:53:46 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2011-01-19 22:53:46 +0000 |
commit | c5c0a0d943fe8c0551fb07cdd2b6e99c0c4d0c0a (patch) | |
tree | 2f3af28fbfe7540fc914750baf6e6af88df9ed0c /plugins/wimax/msg_pmc.c | |
parent | c732e15d7791aaa4006d3dbc7794e86adf94db3c (diff) | |
download | wireshark-c5c0a0d943fe8c0551fb07cdd2b6e99c0c4d0c0a.tar.gz |
Use Wireshark standard marking for unused parameters.
svn path=/trunk/; revision=35590
Diffstat (limited to 'plugins/wimax/msg_pmc.c')
-rw-r--r-- | plugins/wimax/msg_pmc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/wimax/msg_pmc.c b/plugins/wimax/msg_pmc.c index 570031badd..a774d41747 100644 --- a/plugins/wimax/msg_pmc.c +++ b/plugins/wimax/msg_pmc.c @@ -189,15 +189,13 @@ void proto_register_mac_mgmt_msg_pmc_rsp(void) } /* Decode PMC-REQ messages. */ -void dissect_mac_mgmt_msg_pmc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) +void dissect_mac_mgmt_msg_pmc_req_decoder(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) { guint offset = 0; guint tvb_len, payload_type; proto_item *pmc_req_item = NULL; proto_tree *pmc_req_tree = NULL; - UNREFERENCED_PARAMETER(pinfo); - /* Ensure the right payload type */ payload_type = tvb_get_guint8(tvb, 0); if(payload_type != MAC_MGMT_MSG_PMC_REQ) @@ -229,7 +227,7 @@ void dissect_mac_mgmt_msg_pmc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, pro } /* Decode PMC-RSP messages. */ -void dissect_mac_mgmt_msg_pmc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) +void dissect_mac_mgmt_msg_pmc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) { guint offset = 0; guint tvb_len, payload_type; @@ -239,8 +237,6 @@ void dissect_mac_mgmt_msg_pmc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro gint8 value; gfloat power_change; - UNREFERENCED_PARAMETER(pinfo); - /* Ensure the right payload type */ payload_type = tvb_get_guint8(tvb, 0); if(payload_type != MAC_MGMT_MSG_PMC_RSP) |