diff options
| author | firefly2442 | 2018-01-03 21:17:30 -0700 |
|---|---|---|
| committer | firefly2442 | 2018-01-03 21:23:48 -0700 |
| commit | f066991aa7bdf8c5e06f2255ea1df96e5daeac9f (patch) | |
| tree | 424ea3f7d04d415bdaee86e4cfaf8be0bfb89e1d /editor/plugins | |
| parent | 914f51031c54a36891418451ffe9a0490d2ab561 (diff) | |
| download | godot-f066991aa7bdf8c5e06f2255ea1df96e5daeac9f.tar.gz godot-f066991aa7bdf8c5e06f2255ea1df96e5daeac9f.tar.zst godot-f066991aa7bdf8c5e06f2255ea1df96e5daeac9f.zip | |
found via cppcheck:
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
Diffstat (limited to 'editor/plugins')
| -rw-r--r-- | editor/plugins/baked_lightmap_editor_plugin.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/baked_lightmap_editor_plugin.cpp b/editor/plugins/baked_lightmap_editor_plugin.cpp index 08f4d06ef..6849563ae 100644 --- a/editor/plugins/baked_lightmap_editor_plugin.cpp +++ b/editor/plugins/baked_lightmap_editor_plugin.cpp @@ -20,7 +20,6 @@ void BakedLightmapEditorPlugin::_bake() { case BakedLightmap::BAKE_ERROR_CANT_CREATE_IMAGE: EditorNode::get_singleton()->show_warning(TTR("Failed creating lightmap images, make sure path is writable.")); break; - defaut : {} } } } |
