diff options
| author | Johan Manuel | 2016-07-25 19:12:13 +0200 |
|---|---|---|
| committer | Johan Manuel | 2016-08-13 13:21:35 +0200 |
| commit | cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc (patch) | |
| tree | 1ff78e16682330a66dc5fd031bc3aacf1aaa73bc /tools/editor/editor_node.cpp | |
| parent | f86176d20b75598de78f117c06f55ef193115fd6 (diff) | |
| download | godot-cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc.tar.gz godot-cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc.tar.zst godot-cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc.zip | |
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.
Diffstat (limited to 'tools/editor/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 30b89cacc..b3de3aab1 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -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 |
