Forráskód Böngészése

Remove an assignment to self

This line does a = a and has a FIXME line. It seems that reduz can't
think of a reason for it either, so here it goes.
Hein-Pieter van Braam 8 éve
szülő
commit
3894f20d98
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      editor/import/resource_importer_scene.cpp

+ 0 - 1
editor/import/resource_importer_scene.cpp

@@ -1287,7 +1287,6 @@ Error ResourceImporterScene::import(const String &p_source_file, const String &p
 	Ref<EditorScenePostImport> post_import_script;
 	Ref<EditorScenePostImport> post_import_script;
 
 
 	if (post_import_script_path != "") {
 	if (post_import_script_path != "") {
-		post_import_script_path = post_import_script_path; // FIXME: is there a good reason for this?
 		Ref<Script> scr = ResourceLoader::load(post_import_script_path);
 		Ref<Script> scr = ResourceLoader::load(post_import_script_path);
 		if (!scr.is_valid()) {
 		if (!scr.is_valid()) {
 			EditorNode::add_io_error(TTR("Couldn't load post-import script:") + " " + post_import_script_path);
 			EditorNode::add_io_error(TTR("Couldn't load post-import script:") + " " + post_import_script_path);