aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.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 /wiretap/file_wrappers.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 'wiretap/file_wrappers.c')
-rw-r--r--wiretap/file_wrappers.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c
index 067be50659..777d683014 100644
--- a/wiretap/file_wrappers.c
+++ b/wiretap/file_wrappers.c
@@ -233,7 +233,12 @@ fast_seek_header(FILE_T file, gint64 in_pos, gint64 out_pos,
}
static void
-fast_seek_reset(FILE_T state _U_)
+fast_seek_reset(
+#ifdef HAVE_LIBZ
+ FILE_T state)
+#else
+ FILE_T state _U_)
+#endif
{
#ifdef HAVE_LIBZ
if (state->compression == ZLIB && state->fast_seek_cur) {