aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/zip/MiniZip/unzip.c
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-12-11 14:24:03 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-12-11 14:24:03 -0800
commit475d817e0230342443203f3b9b3dfe2a45a71779 (patch)
tree74803f62785a268e477fb82f96f98fc7e65f1686 /src/core/zip/MiniZip/unzip.c
parent129a55d2098fbb114fcb7e785b31ce270e9cfda0 (diff)
Fixed analyzer issues and warnings (#993 and fixed #992)
Diffstat (limited to 'src/core/zip/MiniZip/unzip.c')
-rw-r--r--src/core/zip/MiniZip/unzip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/zip/MiniZip/unzip.c b/src/core/zip/MiniZip/unzip.c
index 7617f41f..2dd2907d 100644
--- a/src/core/zip/MiniZip/unzip.c
+++ b/src/core/zip/MiniZip/unzip.c
@@ -63,6 +63,7 @@
*/
+#ifndef __clang_analyzer__
#include <stdio.h>
#include <stdlib.h>
@@ -1696,7 +1697,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;
@@ -2123,3 +2124,5 @@ extern int ZEXPORT unzSetOffset (unzFile file, uLong pos)
{
return unzSetOffset64(file,pos);
}
+
+#endif