浏览代码

fix warning:

equality comparison with extraneous parentheses
abma 11 年之前
父节点
当前提交
c7ab8383bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/unzip/unzip.c

+ 1 - 1
contrib/unzip/unzip.c

@@ -1246,7 +1246,7 @@ extern int ZEXPORT unzReadCurrentFile  (file, buf, len)
         return UNZ_PARAMERROR;
         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;
         return UNZ_END_OF_LIST_OF_FILE;
     if (len==0)
     if (len==0)
         return 0;
         return 0;