From 8460d0678c28816f6f206f40b71de2510fab1ffc Mon Sep 17 00:00:00 2001 From: qarmin Date: Thu, 4 Apr 2019 22:00:16 +0200 Subject: Small fixes to static analyzer bugs --- platform/android/export/export.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'platform/android/export/export.cpp') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index e489bce3f8..13bc69bdcb 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1515,7 +1515,6 @@ public: return ERR_FILE_NOT_FOUND; } - ERR_FAIL_COND_V(!pkg, ERR_CANT_OPEN); int ret = unzGoToFirstFile(pkg); zlib_filefunc_def io2 = io; @@ -1855,7 +1854,6 @@ public: return ERR_FILE_NOT_FOUND; } - ERR_FAIL_COND_V(!tmp_unaligned, ERR_CANT_OPEN); ret = unzGoToFirstFile(tmp_unaligned); io2 = io; -- cgit v1.2.3