summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-11-12 08:53:28 +0100
committerGitHub <noreply@github.com>2018-11-12 08:53:28 +0100
commita05f136fb0f3df5f2f9d511cb2bf6a6433f3f8cc (patch)
treed75fd34e6e934836b71d644c8536c2eb78306b1d
parent8dfe7864063902af8b49731b3d90ef3e47ecdca0 (diff)
parent8a08a9fb6a833aa2cfd7c68596c2c0a3a9f30b65 (diff)
Merge pull request #23654 from YeldhamDev/remove_unused_debug_var
Remove unused variable in ScriptEditorDebugger
-rw-r--r--editor/script_editor_debugger.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index ba9837ef6e..089ffa285d 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -467,7 +467,6 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
String type = p_data[1];
Array properties = p_data[2];
- bool is_new_object = false;
if (remote_objects.has(id)) {
debugObj = remote_objects[id];
} else {
@@ -475,7 +474,6 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
debugObj->remote_object_id = id;
debugObj->type_name = type;
remote_objects[id] = debugObj;
- is_new_object = true;
debugObj->connect("value_edited", this, "_scene_tree_property_value_edited");
}