Browse Source

Remove unused variable in ScriptEditorDebugger

Michael Alexsander Silva Dias 6 years ago
parent
commit
8a08a9fb6a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      editor/script_editor_debugger.cpp

+ 0 - 2
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];
 		String type = p_data[1];
 		Array properties = p_data[2];
 		Array properties = p_data[2];
 
 
-		bool is_new_object = false;
 		if (remote_objects.has(id)) {
 		if (remote_objects.has(id)) {
 			debugObj = remote_objects[id];
 			debugObj = remote_objects[id];
 		} else {
 		} else {
@@ -475,7 +474,6 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
 			debugObj->remote_object_id = id;
 			debugObj->remote_object_id = id;
 			debugObj->type_name = type;
 			debugObj->type_name = type;
 			remote_objects[id] = debugObj;
 			remote_objects[id] = debugObj;
-			is_new_object = true;
 			debugObj->connect("value_edited", this, "_scene_tree_property_value_edited");
 			debugObj->connect("value_edited", this, "_scene_tree_property_value_edited");
 		}
 		}