mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
This commit is contained in:
parent
b6ac91c0e6
commit
3fcb9b1ec1
35 changed files with 27 additions and 431 deletions
|
|
@ -407,7 +407,6 @@ void AnimationPlayerEditor::_animation_save(const Ref<Resource>& p_resource) {
|
|||
void AnimationPlayerEditor::_animation_save_as(const Ref<Resource>& p_resource) {
|
||||
|
||||
file->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
||||
bool relpaths = (p_resource->has_meta("__editor_relpaths__") && p_resource->get_meta("__editor_relpaths__").operator bool());
|
||||
|
||||
List<String> extensions;
|
||||
ResourceSaver::get_recognized_extensions(p_resource, &extensions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue