aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diameter.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-04-15 19:39:06 +0200
committerAnders Broman <a.broman58@gmail.com>2016-04-18 10:47:05 +0000
commit4eac95dc96648b7bd6a085d1a64aad06521cb5a6 (patch)
tree9a13be213956b0000a7812e012a77e451341cb18 /epan/dissectors/packet-diameter.c
parent025a1ec7f528c4116967abe9125e23cac69b1b14 (diff)
diameter: fix 'pinfo/vs' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: Ib7f1682a3cdeb8571a410db07261ff68bac03432 Reviewed-on: https://code.wireshark.org/review/14977 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-diameter.c')
-rw-r--r--epan/dissectors/packet-diameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c
index 2a417bad98..012e21fa02 100644
--- a/epan/dissectors/packet-diameter.c
+++ b/epan/dissectors/packet-diameter.c
@@ -500,7 +500,7 @@ dissect_diameter_other_vendor_exp_res(tvbuff_t *tvb, proto_tree *tree, diam_sub_
/* From RFC 3162 section 2.3 */
static int
-dissect_diameter_base_framed_ipv6_prefix(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *data)
+dissect_diameter_base_framed_ipv6_prefix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
{
diam_sub_dis_t *diam_sub_dis = (diam_sub_dis_t*)data;
guint8 prefix_len, prefix_len_bytes;
@@ -1751,7 +1751,7 @@ build_simple_avp(const avp_type_t *type, guint32 code, diam_vnd_t *vendor,
static diam_avp_t *
build_appid_avp(const avp_type_t *type, guint32 code, diam_vnd_t *vendor,
- const char *name, const value_string *vs _U_, void *data _U_)
+ const char *name, const value_string *vs, void *data _U_)
{
diam_avp_t *a;
field_display_e base;