From 95004aafb2c26facefe45b52af905701e1899ac9 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Fri, 27 Apr 2018 10:43:48 -0300 Subject: [PATCH] Fix use64 used without being initialized (cherry picked from commit 9b4d23e898fb5f1cdfb537dece00336f7381d46f) --- editor/editor_export.cpp | 1 + editor/editor_export.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index da4bbf9b7ab..91292b0686d 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -1262,6 +1262,7 @@ bool EditorExportPlatformPC::can_export(const Ref &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 e851769279e..6a9c3f7db2b 100644 --- a/editor/editor_export.h +++ b/editor/editor_export.h @@ -373,7 +373,6 @@ class EditorExportPlatformPC : public EditorExportPlatform { Set extra_features; - bool use64; int chmod_flags; public: