Browse files

further reduce compiler warnings

  • Loading branch information...
1 parent b5e167b commit 7953c9c5ed03a4fdb0268d695c521a031cef0429 Matt Connolly committed Sep 20, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 minizip/unzip.c
  2. +2 −2 minizip/zip.c
View
2 minizip/unzip.c
@@ -1291,7 +1291,7 @@ extern int ZEXPORT unzReadCurrentFile (file, buf, len)
return UNZ_PARAMERROR;
- if ((pfile_in_zip_read_info->read_buffer == NULL))
+ if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE;
if (len==0)
return 0;
View
4 minizip/zip.c
@@ -765,9 +765,9 @@ extern int ZEXPORT zipOpenNewFileInZip4 (file, filename, zipfi,
zi->ci.flag = flagBase;
if ((level==8) || (level==9))
zi->ci.flag |= 2;
- if ((level==2))
+ if (level==2)
zi->ci.flag |= 4;
- if ((level==1))
+ if (level==1)
zi->ci.flag |= 6;
if (password != NULL)
zi->ci.flag |= 1;

0 comments on commit 7953c9c

Please sign in to comment.