From 9b4d23e898fb5f1cdfb537dece00336f7381d46f 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 --- 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 7456cc902a8..8e4d241a81f 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: