diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 09:48:06 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 09:48:06 -0300 |
commit | f259f9cbc3eefe431bedc85af08a4d5bbc020d88 (patch) | |
tree | fcf28a65116bbafa6dcff8f4565153634ea1905f | |
parent | a871fc9112c6620394a252997253b52e3e3f4545 (diff) | |
parent | bbca86577d5f8fafce1abc471088909f2630735f (diff) |
Merge pull request #2584 from buresu/fix-parentheses-equality-warnings
[OSX Clang] Fix parentheses-equality warnings
-rw-r--r-- | core/io/unzip.c | 2 | ||||
-rw-r--r-- | core/io/zip.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/io/unzip.c b/core/io/unzip.c index 0cd975211e..b438021ad7 100644 --- a/core/io/unzip.c +++ b/core/io/unzip.c @@ -1788,7 +1788,7 @@ extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned 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/core/io/zip.c b/core/io/zip.c index 8f6aeb922f..c4ab93ab81 100644 --- a/core/io/zip.c +++ b/core/io/zip.c @@ -1114,9 +1114,9 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, 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; |