Merge pull request #70435 from Chaosus/gds_remove_unused_code

Remove unused code paragraph from gdscript_editor.cpp/complete_code
This commit is contained in:
Rémi Verschelde 2022-12-22 16:02:03 +01:00
commit 866df52f49
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 10 deletions

View File

@ -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: {