diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-06 15:47:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 15:47:20 +0200 |
commit | ac591d9904e4e5cf7841b3e79caabf558d37db0e (patch) | |
tree | 70f3bd487e91feb4ca777dba214a09b17041da97 /platform/osx/export/export_plugin.cpp | |
parent | 72407a9cfbd4f58102972c0910429f3ab7006f07 (diff) | |
parent | f851c4aa330e1064a66db50be62db2466f4fb768 (diff) | |
download | redot-engine-ac591d9904e4e5cf7841b3e79caabf558d37db0e.tar.gz |
Merge pull request #59911 from bruvzg/cppcheck_fixes
Diffstat (limited to 'platform/osx/export/export_plugin.cpp')
-rw-r--r-- | platform/osx/export/export_plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/osx/export/export_plugin.cpp b/platform/osx/export/export_plugin.cpp index 4f06342fac..682f722a85 100644 --- a/platform/osx/export/export_plugin.cpp +++ b/platform/osx/export/export_plugin.cpp @@ -935,6 +935,9 @@ Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_p unz_file_info info; char fname[16384]; ret = unzGetCurrentFileInfo(src_pkg_zip, &info, fname, 16384, nullptr, 0, nullptr, 0); + if (ret != UNZ_OK) { + break; + } String file = String::utf8(fname); |