aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-amqp.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-amqp.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-amqp.c')
-rw-r--r--epan/dissectors/packet-amqp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-amqp.c b/epan/dissectors/packet-amqp.c
index 841177b62f..dec8a2ab8e 100644
--- a/epan/dissectors/packet-amqp.c
+++ b/epan/dissectors/packet-amqp.c
@@ -8363,7 +8363,7 @@ dissect_amqp_0_9_method_connection_close_ok(tvbuff_t *tvb _U_,
static int
dissect_amqp_0_9_method_connection_blocked(tvbuff_t *tvb,
- int offset, proto_tree *args_tree _U_)
+ int offset, proto_tree *args_tree)
{
/* reason (shortstr) */
proto_tree_add_item(args_tree, hf_amqp_method_connection_blocked_reason,
@@ -9507,7 +9507,7 @@ dissect_amqp_0_9_method_file_qos(tvbuff_t *tvb,
static int
dissect_amqp_0_9_method_file_qos_ok(tvbuff_t *tvb _U_,
- int offset _U_, proto_tree *args_tree _U_)
+ int offset, proto_tree *args_tree _U_)
{
return offset;
}
@@ -10127,8 +10127,8 @@ dissect_amqp_0_9_method_tunnel_request(tvbuff_t *tvb, packet_info *pinfo,
/* Dissection routine for method Confirm.Select */
static int
-dissect_amqp_0_9_method_confirm_select(tvbuff_t *tvb _U_,
- int offset, proto_tree *args_tree _U_)
+dissect_amqp_0_9_method_confirm_select(tvbuff_t *tvb,
+ int offset, proto_tree *args_tree)
{
/* nowait (bit) */
proto_tree_add_item(args_tree, hf_amqp_method_confirm_select_nowait,
@@ -11045,7 +11045,7 @@ dissect_amqp_1_0_false(tvbuff_t *tvb, packet_info *pinfo _U_,
static int
format_amqp_1_0_null(tvbuff_t *tvb _U_,
guint offset _U_, guint bound _U_, guint length _U_,
- const char **value _U_)
+ const char **value)
{
*value = "(null)";
return 0;
@@ -11200,7 +11200,7 @@ format_amqp_1_0_uuid(tvbuff_t *tvb,
static int
format_amqp_1_0_bin(tvbuff_t *tvb,
- guint offset, guint bound _U_, guint length,
+ guint offset, guint bound, guint length,
const char **value)
{
guint bin_length;