aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-a21.c
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2016-03-28 13:37:24 +0200
committerJörg Mayer <jmayer@loplof.de>2016-03-28 12:46:31 +0000
commit8f3ad919054003ea96c670ab663268b75aba3755 (patch)
treeb97dc12e53bd61a61110406107e55a5b8938404c /epan/dissectors/packet-a21.c
parentc0e48778b7c54dcd02b3700ff467031648d33bce (diff)
Fix some warnings/errors of type
git/epan/dissectors/packet-a21.c:478:25: error: 'item' was marked unused but was used [-Werror,-Wused-but-marked-unused] proto_item_append_text(item, "%s", val_to_str_const(event_id, a21_event_vals, "Unknown")); ^ Added manual change id because file-jpeg.c forced the use of commit -n Change-Id: Iffff53d6253758c8454d9583f0a11f317c8390cb Fix warnings/errors of type: git/epan/dissectors/packet-ax25-kiss.c:205:52: error: 'pseudo_header' was marked unused but was used [-Werror,-Wused-but-marked-unused] return capture_ax25( pd, l_offset, len, cpinfo, pseudo_header ); Fix checkhf warnings: Unused entry: epan/dissectors/packet-artnet.c, hf_artnet_address_netswitch Unused entry: epan/dissectors/packet-artnet.c, hf_artnet_address_subswitch Unused entry: epan/dissectors/packet-artnet.c, hf_artnet_poll_reply_trailer Unused entry: epan/dissectors/packet-artnet.c, hf_artnet_rdm_universe Unused entry: epan/dissectors/packet-artnet.c, hf_artnet_tod_data_universe Change-Id: Id1fa12afb97a8e9cd4ed0ea25351c3b2639c930e Reviewed-on: https://code.wireshark.org/review/14667 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'epan/dissectors/packet-a21.c')
-rw-r--r--epan/dissectors/packet-a21.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-a21.c b/epan/dissectors/packet-a21.c
index b62efe1063..bcb8e8ff1d 100644
--- a/epan/dissectors/packet-a21.c
+++ b/epan/dissectors/packet-a21.c
@@ -167,7 +167,7 @@ static const value_string a21_mn_id_type_of_identity_vals[] = {
/* 5.2.4.8 Mobile Identity (MN ID) */
static void
-dissect_a21_mobile_identity(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto_item *item, guint16 length, guint8 message_type _U_)
+dissect_a21_mobile_identity(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *item, guint16 length, guint8 message_type _U_)
{
int offset = 0;
guint identity_type;
@@ -466,7 +466,7 @@ static const value_string a21_additional_event_info_vals[] = {
static void
-dissect_a21_event(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, guint16 length, guint8 message_type _U_)
+dissect_a21_event(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto_item *item, guint16 length, guint8 message_type _U_)
{
int offset = 0;
guint8 event_id;