diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-04-04 22:00:16 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-04-04 22:00:16 +0200 |
commit | 8460d0678c28816f6f206f40b71de2510fab1ffc (patch) | |
tree | 57970414bfd1d51aac751f2c9ec6051ec0fb629e /platform/iphone/export/export.cpp | |
parent | c2c11fc063e723c41579e6307e40fd16ac5334c4 (diff) |
Small fixes to static analyzer bugs
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r-- | platform/iphone/export/export.cpp | 2 |
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) { |