diff options
author | Joerg Mayer <jmayer@loplof.de> | 2016-03-28 13:37:24 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2016-03-28 11:43:56 +0000 |
commit | c0e48778b7c54dcd02b3700ff467031648d33bce (patch) | |
tree | e477c479041e6dcd3d88b8774704ddd081367bfc /capinfos.c | |
parent | 1aaaac5e2eb85f3a3d02f637cc1d43aff11a97a0 (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 'capinfos.c')
-rw-r--r-- | capinfos.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/capinfos.c b/capinfos.c index 178fa60cde..e75e70e1ec 100644 --- a/capinfos.c +++ b/capinfos.c @@ -1384,7 +1384,12 @@ get_capinfos_compiled_info(GString *str) } static void -get_capinfos_runtime_info(GString *str _U_) +get_capinfos_runtime_info( +#if defined(HAVE_LIBZ) && !defined(_WIN32) + GString *str) +#else + GString *str _U_) +#endif { /* zlib */ #if defined(HAVE_LIBZ) && !defined(_WIN32) |