From abaedb54f14a0303d9c3d88625da5a4e9590d560 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Thu, 22 Dec 2022 11:07:48 +0300 Subject: [PATCH] Remove unused code paragraph from gdscript_editor.cpp/complete_code --- modules/gdscript/gdscript_editor.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 79387d1bf6d..d84af0c63c8 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2848,16 +2848,6 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c break; } - GDScriptParser::CompletionContext c = completion_context; - c.current_function = nullptr; - c.current_suite = nullptr; - c.base = base.value.get_type() == Variant::OBJECT ? base.value.operator Object *() : nullptr; - if (base.type.kind == GDScriptParser::DataType::CLASS) { - c.current_class = base.type.class_type; - } else { - c.current_class = nullptr; - } - _find_identifiers_in_base(base, false, options, 0); } break; case GDScriptParser::COMPLETION_TYPE_ATTRIBUTE: {