Merge pull request #23654 from YeldhamDev/remove_unused_debug_var

Remove unused variable in ScriptEditorDebugger
This commit is contained in:
Rémi Verschelde 2018-11-12 08:53:28 +01:00 committed by GitHub
commit a05f136fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");
}