diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2018-04-27 16:39:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 16:39:48 +0200 |
commit | b22f048700105dec26154cc90f10b0ef34b3f5ed (patch) | |
tree | 8e061bade57ce1f112d6023b8261c1456c74c1ed | |
parent | deee9f0cb47e00645cf56340e34c78b21170977a (diff) | |
parent | 9b4d23e898fb5f1cdfb537dece00336f7381d46f (diff) |
Merge pull request #18466 from marcelofg55/use64_fix
Fix use64 used without being initialized
-rw-r--r-- | editor/editor_export.cpp | 1 | ||||
-rw-r--r-- | editor/editor_export.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 7456cc902a..8e4d241a81 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -1262,6 +1262,7 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset, String err; bool valid = true; + bool use64 = p_preset->get("binary_format/64_bits"); if (use64 && (!exists_export_template(debug_file_64, &err) || !exists_export_template(release_file_64, &err))) { valid = false; diff --git a/editor/editor_export.h b/editor/editor_export.h index e851769279..6a9c3f7db2 100644 --- a/editor/editor_export.h +++ b/editor/editor_export.h @@ -373,7 +373,6 @@ class EditorExportPlatformPC : public EditorExportPlatform { Set<String> extra_features; - bool use64; int chmod_flags; public: |