1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +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:
Johan Manuel
2016-07-25 19:12:13 +02:00
parent f86176d20b
commit cec1c48a7e
8 changed files with 16 additions and 14 deletions

View File

@@ -784,7 +784,7 @@ bool EditorNode::_find_and_save_resource(RES res,Map<RES,bool>& processed,int32_
if (changed || subchanged) {
//save
print_line("Also saving modified external resource: "+res->get_path());
Error err = ResourceSaver::save(res->get_path(),res,flags);
ResourceSaver::save(res->get_path(),res,flags);
}
processed[res]=false; //because it's a file