diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-20 23:25:36 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-20 23:25:36 +0100 |
commit | a8be081b83df1f7eedd4702a9482e413ab4e4764 (patch) | |
tree | 6869f0347e1679b12f48ea709d1bec28b62e9377 | |
parent | 190226098b818a8bed7d6ae9a77520300f5a28eb (diff) | |
parent | 567a591f87749389e917b7713e8ab881859207e8 (diff) |
Merge pull request #68931 from Sauermann/fix-unused-exitcode
Fix unused exitcode in macos export plugin
-rw-r--r-- | platform/macos/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index b5c2e12a2f..ae8c802caf 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -727,7 +727,7 @@ Error EditorExportPlatformMacOS::_code_sign(const Ref<EditorExportPreset> &p_pre String str; int exitcode = 0; - Error err = OS::get_singleton()->execute("codesign", args, &str, nullptr, true); + Error err = OS::get_singleton()->execute("codesign", args, &str, &exitcode, true); if (err != OK) { add_message(EXPORT_MESSAGE_WARNING, TTR("Code Signing"), TTR("Could not start codesign executable, make sure Xcode command line tools are installed.")); return err; |