diff options
author | 近藤 直人 <kondo@team-lab.com> | 2015-10-09 21:39:50 +0900 |
---|---|---|
committer | 近藤 直人 <kondo@team-lab.com> | 2015-10-09 21:39:50 +0900 |
commit | bbca86577d5f8fafce1abc471088909f2630735f (patch) | |
tree | b5176ed313a8c48e208262fc4858ee7c86256c8b | |
parent | aad2bbdb6fb7c8217d7e75480b38e45f00cb3abd (diff) |
fix parentheses-equality warnings of osx clang
-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; |