You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20: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:
@@ -80,8 +80,6 @@ void DependencyEditor::_fix_and_find(EditorFileSystemDirectory *efsd, Map<String
|
||||
continue;
|
||||
|
||||
String path = efsd->get_file_path(i);
|
||||
Map<String,String> &ss = candidates[file];
|
||||
|
||||
|
||||
for(Map<String,String>::Element *E=candidates[file].front();E;E=E->next()) {
|
||||
|
||||
@@ -420,7 +418,6 @@ void DependencyRemoveDialog::show(const Vector<String> &to_erase) {
|
||||
exist=false;
|
||||
owners->clear();
|
||||
files.clear();
|
||||
TreeItem *root=owners->create_item();
|
||||
for(int i=0;i<to_erase.size();i++) {
|
||||
files[to_erase[i]]=NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user