diff options
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -54,10 +54,6 @@ #include <signal.h> #include <errno.h> -#ifdef HAVE_LIBZ -#include <zlib.h> /* to get the libz version number */ -#endif - #include <wsutil/cmdarg_err.h> #include <wsutil/crash_info.h> #include <wsutil/ws_diag_control.h> @@ -3706,19 +3702,6 @@ get_dumpcap_compiled_info(GString *str) /* Capture libraries */ g_string_append(str, ", "); get_compiled_caplibs_version(str); - - /* LIBZ */ - g_string_append(str, ", "); -#ifdef HAVE_LIBZ - g_string_append(str, "with libz "); -#ifdef ZLIB_VERSION - g_string_append(str, ZLIB_VERSION); -#else /* ZLIB_VERSION */ - g_string_append(str, "(version unknown)"); -#endif /* ZLIB_VERSION */ -#else /* HAVE_LIBZ */ - g_string_append(str, "without libz"); -#endif /* HAVE_LIBZ */ } static void @@ -3727,11 +3710,6 @@ get_dumpcap_runtime_info(GString *str) /* Capture libraries */ g_string_append(str, ", "); get_runtime_caplibs_version(str); - - /* zlib */ -#if defined(HAVE_LIBZ) && !defined(_WIN32) - g_string_append_printf(str, ", with libz %s", zlibVersion()); -#endif } /* And now our feature presentation... [ fade to music ] */ |