Remove unused variables (fourth pass) + dead code

Also fix a potential regression from 3fcb9b1ec1.
This commit is contained in:
Rémi Verschelde
2016-07-08 00:32:28 +02:00
parent d8c31e0e74
commit f40f360a2c
32 changed files with 12 additions and 175 deletions

View File

@@ -443,7 +443,6 @@ String ResourceLoader::get_resource_type(const String &p_path) {
String remapped_path = PathRemap::get_singleton()->get_remap(local_path);
String extension=remapped_path.extension();
bool found=false;
for (int i=0;i<loader_count;i++) {
String result = loader[i]->get_resource_type(local_path);