summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2018-04-27 16:39:48 +0200
committerGitHub <noreply@github.com>2018-04-27 16:39:48 +0200
commitb22f048700105dec26154cc90f10b0ef34b3f5ed (patch)
tree8e061bade57ce1f112d6023b8261c1456c74c1ed
parentdeee9f0cb47e00645cf56340e34c78b21170977a (diff)
parent9b4d23e898fb5f1cdfb537dece00336f7381d46f (diff)
Merge pull request #18466 from marcelofg55/use64_fix
Fix use64 used without being initialized
-rw-r--r--editor/editor_export.cpp1
-rw-r--r--editor/editor_export.h1
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: