summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-01 08:19:04 +0200
committerGitHub <noreply@github.com>2019-05-01 08:19:04 +0200
commitae41e35191cc64471f918318dc32428728c9c4bb (patch)
tree904f7611e51a9a0fa8f3e75f5556c89aa66396b5 /platform/iphone
parent8afc9c3938af385be17aab92ec5c4adcbfb0781a (diff)
parent8460d0678c28816f6f206f40b71de2510fab1ffc (diff)
Merge pull request #27676 from qarmin/small_fixes_2
Small fixes to static analyzer bugs
Diffstat (limited to 'platform/iphone')
-rw-r--r--platform/iphone/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index 85d4b9e847..e1083aeefc 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -920,7 +920,7 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
EditorNode::add_io_error("Could not open export template (not a zip file?):\n" + src_pkg_name);
return ERR_CANT_OPEN;
}
- ERR_FAIL_COND_V(!src_pkg_zip, ERR_CANT_OPEN);
+
int ret = unzGoToFirstFile(src_pkg_zip);
Vector<uint8_t> project_file_data;
while (ret == UNZ_OK) {