aboutsummaryrefslogtreecommitdiffstats
path: root/captype.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 11:43:56 +0000
commitc0e48778b7c54dcd02b3700ff467031648d33bce (patch)
treee477c479041e6dcd3d88b8774704ddd081367bfc /captype.c
parent1aaaac5e2eb85f3a3d02f637cc1d43aff11a97a0 (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 Reviewed-on: https://code.wireshark.org/review/14666 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/captype.c b/captype.c
index 8b75852992..1390f0ce06 100644
--- a/captype.c
+++ b/captype.c
@@ -104,7 +104,12 @@ get_captype_compiled_info(GString *str)
}
static void
-get_captype_runtime_info(GString *str _U_)
+get_captype_runtime_info(
+#if defined(HAVE_LIBZ) && !defined(_WIN32)
+ GString *str)
+#else
+ GString *str _U_)
+#endif
{
/* zlib */
#if defined(HAVE_LIBZ) && !defined(_WIN32)