mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-20 04:23:54 +00:00
Fix various warnings
The warnings fixed were about things like unused variables, misleading indentation, missing default cases in switches and better grouping of conditions in if statements.
This commit is contained in:
@@ -1441,7 +1441,7 @@ bool EditorExportPlatformPC::can_export(String *r_error) const {
|
||||
String err;
|
||||
bool valid=true;
|
||||
|
||||
if (use64 && (!exists_export_template(debug_binary64)) || !exists_export_template(release_binary64)) {
|
||||
if (use64 && (!exists_export_template(debug_binary64) || !exists_export_template(release_binary64))) {
|
||||
valid=false;
|
||||
err="No 64 bits export templates found.\nDownload and install export templates.\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user