From 33edf7f43cbd319162b452bfc15956b8ba355bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=B6hl?= Date: Mon, 23 Feb 2026 13:42:11 +0100 Subject: [PATCH] Remove unused variable causing warnings --- editor/script/script_editor_base.cpp | 2 -- editor/script/script_editor_base.h | 1 - 2 files changed, 3 deletions(-) diff --git a/editor/script/script_editor_base.cpp b/editor/script/script_editor_base.cpp index 00623f193a..20a2e25ba3 100644 --- a/editor/script/script_editor_base.cpp +++ b/editor/script/script_editor_base.cpp @@ -645,8 +645,6 @@ TextEditorBase::TextEditorBase() { context_menu->connect(SceneStringName(id_pressed), callable_mp(this, &TextEditorBase::_edit_option)); add_child(context_menu); - edit_hb = memnew(HBoxContainer); - goto_line_popup = memnew(GotoLinePopup); add_child(goto_line_popup); diff --git a/editor/script/script_editor_base.h b/editor/script/script_editor_base.h index 596afe2594..8d834f8b08 100644 --- a/editor/script/script_editor_base.h +++ b/editor/script/script_editor_base.h @@ -161,7 +161,6 @@ protected: bool editor_enabled = false; CodeTextEditor *code_editor = nullptr; - HBoxContainer *edit_hb = nullptr; GotoLinePopup *goto_line_popup = nullptr;