aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-27 10:33:17 +0200
committerMichael Mann <mmann78@netscape.net>2017-08-09 00:55:49 +0000
commit4d798e62ec7740a45fa2b82ecdcb102ca02d154c (patch)
treeca0cb1193ab01557cc98672e36f0b9d5c16348f5 /epan/dissectors
parent591d7ec817162687bee8a278c066891d86448e31 (diff)
obex: fix 'pinfo' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Id791b880d24f3ec948016c6bf00c00ac8f9cd6fb Reviewed-on: https://code.wireshark.org/review/23017 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-obex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-obex.c b/epan/dissectors/packet-obex.c
index 88f63aa74e..15629df829 100644
--- a/epan/dissectors/packet-obex.c
+++ b/epan/dissectors/packet-obex.c
@@ -1092,7 +1092,7 @@ static gpointer media_type_value(packet_info *pinfo)
return NULL;
}
-static void obex_profile_prompt(packet_info *pinfo _U_, gchar* result)
+static void obex_profile_prompt(packet_info *pinfo, gchar* result)
{
guint8 *value_data;
@@ -1103,7 +1103,7 @@ static void obex_profile_prompt(packet_info *pinfo _U_, gchar* result)
g_snprintf(result, MAX_DECODE_AS_PROMPT_LEN, "Unknown OBEX Profile");
}
-static gpointer obex_profile_value(packet_info *pinfo _U_)
+static gpointer obex_profile_value(packet_info *pinfo)
{
guint8 *value_data;