summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-08-23 23:51:37 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2017-08-23 23:51:37 +0200
commit3894f20d9804a9be0ef496f23656b6594710358e (patch)
treed406e2d6b9c61509b151640c26c156c4e558c8dd /editor
parentb4ad899ef64df6e341a4cbe52a15109cd3d6b2eb (diff)
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.
Diffstat (limited to 'editor')
-rw-r--r--editor/import/resource_importer_scene.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp
index 798f57f8c3..b6f17b7121 100644
--- a/editor/import/resource_importer_scene.cpp
+++ b/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;
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);
if (!scr.is_valid()) {
EditorNode::add_io_error(TTR("Couldn't load post-import script:") + " " + post_import_script_path);