diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-22 16:02:03 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-22 16:02:03 +0100 |
commit | 866df52f4914a0ddd2c3ab5cc7d0d6520ba06b71 (patch) | |
tree | 6c7110a84463577c5a270a5947f7132b9882ddfc | |
parent | c2d8269a72cdd0fe153e0f27e45e2fcc2c218785 (diff) | |
parent | abaedb54f14a0303d9c3d88625da5a4e9590d560 (diff) |
Merge pull request #70435 from Chaosus/gds_remove_unused_code
Remove unused code paragraph from gdscript_editor.cpp/complete_code
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 79387d1bf6..d84af0c63c 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: { |