aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorMarcelo Fernandez2018-04-27 10:43:48 -0300
committerHein-Pieter van Braam2018-04-28 23:06:24 +0200
commit95004aafb2c26facefe45b52af905701e1899ac9 (patch)
tree726f0f8af2a0495cfd6139f5c0be6bee2f43ceeb /editor/editor_export.cpp
parent3f6ea30f8d752bafaf36be26f3f1e307aec285f6 (diff)
downloadgodot-95004aafb2c26facefe45b52af905701e1899ac9.tar.gz
godot-95004aafb2c26facefe45b52af905701e1899ac9.tar.zst
godot-95004aafb2c26facefe45b52af905701e1899ac9.zip
Fix use64 used without being initialized
(cherry picked from commit 9b4d23e898fb5f1cdfb537dece00336f7381d46f)
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index da4bbf9b7..91292b068 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;