From: Mark Adler Date: Sat, 21 Jan 2012 19:48:14 +0000 (-0800) Subject: Avoid warning for no encryption in contrib/minizip/zip.c [Vollant]. X-Git-Tag: v1.2.6~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cdb49c96eea175736f6aa6a2b2d0730f4d8d65d;p=thirdparty%2Fzlib-ng.git Avoid warning for no encryption in contrib/minizip/zip.c [Vollant]. --- diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index 4f7690468..1b99580eb 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c @@ -1067,6 +1067,7 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, int err = ZIP_OK; # ifdef NOCRYPT + (crcForCrypting); if (password != NULL) return ZIP_PARAMERROR; # endif