diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-07-01 01:23:49 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-07-01 01:23:49 +0200 |
commit | 8b86306d48fff4a6cc9291d00e1211a5e5dc1903 (patch) | |
tree | c50b3a924821d9cf7f7ac789616fb9b26b8e2690 /depends | |
parent | dd0752e69f33c6092a940091b8a332b18e6be76d (diff) | |
download | MultiMC-8b86306d48fff4a6cc9291d00e1211a5e5dc1903.tar MultiMC-8b86306d48fff4a6cc9291d00e1211a5e5dc1903.tar.gz MultiMC-8b86306d48fff4a6cc9291d00e1211a5e5dc1903.tar.lz MultiMC-8b86306d48fff4a6cc9291d00e1211a5e5dc1903.tar.xz MultiMC-8b86306d48fff4a6cc9291d00e1211a5e5dc1903.zip |
Handle a bunch more clang warnings
Diffstat (limited to 'depends')
-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) { |