From 8a08a9fb6a833aa2cfd7c68596c2c0a3a9f30b65 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Sun, 11 Nov 2018 15:35:09 -0200 Subject: [PATCH] Remove unused variable in ScriptEditorDebugger --- editor/script_editor_debugger.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index ba9837ef6eb..089ffa285de 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"); }