Fix use64 used without being initialized
(cherry picked from commit 9b4d23e898
)
This commit is contained in:
parent
3f6ea30f8d
commit
95004aafb2
|
@ -1262,6 +1262,7 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset,
|
||||||
|
|
||||||
String err;
|
String err;
|
||||||
bool valid = true;
|
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))) {
|
if (use64 && (!exists_export_template(debug_file_64, &err) || !exists_export_template(release_file_64, &err))) {
|
||||||
valid = false;
|
valid = false;
|
||||||
|
|
|
@ -373,7 +373,6 @@ class EditorExportPlatformPC : public EditorExportPlatform {
|
||||||
|
|
||||||
Set<String> extra_features;
|
Set<String> extra_features;
|
||||||
|
|
||||||
bool use64;
|
|
||||||
int chmod_flags;
|
int chmod_flags;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue