Avoid warning for no encryption in contrib/minizip/zip.c [Vollant].

This commit is contained in:
Mark Adler 2012-01-21 11:48:14 -08:00
parent 09bbe4c7f0
commit 9cdb49c96e

View File

@ -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