diff options
Diffstat (limited to 'depends/quazip')
-rw-r--r-- | depends/quazip/unzip.c | 2 | ||||
-rw-r--r-- | depends/quazip/zip.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/depends/quazip/unzip.c b/depends/quazip/unzip.c index 52bc081f..823e8504 100644 --- a/depends/quazip/unzip.c +++ b/depends/quazip/unzip.c @@ -1245,7 +1245,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; diff --git a/depends/quazip/zip.c b/depends/quazip/zip.c index a36a20a1..9cb8dab7 100644 --- a/depends/quazip/zip.c +++ b/depends/quazip/zip.c @@ -777,9 +777,9 @@ extern int ZEXPORT zipOpenNewFileInZip3 (file, filename, zipfi, zi->ci.flag = 0; 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) { |