Explorar el Código

Fix "extranious parenthesis" warning on OS X

Nur Monson hace 12 años
padre
commit
18296b9ea3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Tools/Dependencies/unzip11/zip.c

+ 2 - 2
Tools/Dependencies/unzip11/zip.c

@@ -1114,9 +1114,9 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename,
     zi->ci.flag = flagBase;
     zi->ci.flag = flagBase;
     if ((level==8) || (level==9))
     if ((level==8) || (level==9))
       zi->ci.flag |= 2;
       zi->ci.flag |= 2;
-    if ((level==2))
+    if (level==2)
       zi->ci.flag |= 4;
       zi->ci.flag |= 4;
-    if ((level==1))
+    if (level==1)
       zi->ci.flag |= 6;
       zi->ci.flag |= 6;
     if (password != NULL)
     if (password != NULL)
       zi->ci.flag |= 1;
       zi->ci.flag |= 1;