[master] 067787b Comment out unused code

Poul-Henning Kamp phk at FreeBSD.org
Sun Nov 19 23:13:05 UTC 2017


commit 067787be8bf7dd4cedceb8d5b787ca0a4aafd775
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Nov 19 20:12:05 2017 +0000

    Comment out unused code

diff --git a/lib/libvgz/zutil.c b/lib/libvgz/zutil.c
index a76c6b0..5b21ece 100644
--- a/lib/libvgz/zutil.c
+++ b/lib/libvgz/zutil.c
@@ -23,6 +23,7 @@ z_const char * const z_errmsg[10] = {
     (z_const char *)""
 };
 
+#ifdef NOVGZ
 
 const char * ZEXPORT zlibVersion()
 {
@@ -181,6 +182,8 @@ void ZLIB_INTERNAL zmemzero(dest, len)
 }
 #endif
 
+#endif /* NOVGZ */
+
 #ifndef Z_SOLO
 
 #ifdef SYS16BIT


More information about the varnish-commit mailing list