[PATCH 11/66] kconfig: gconf: remove meaningless code in init_main_window()
From: Masahiro Yamada
Date: Tue Jun 24 2025 - 11:11:01 EST
The 'widget' variable is set, but not used in later code.
Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---
scripts/kconfig/gconf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 7960c456e3b9..4b5befa4f685 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -129,7 +129,6 @@ static void init_main_window(const gchar *glade_file)
conf_set_changed_callback(conf_changed);
style = gtk_widget_get_style(main_wnd);
- widget = glade_xml_get_widget(xml, "toolbar1");
replace_button_icon(xml, main_wnd->window, style,
"button4", (gchar **) xpm_single_view);
--
2.43.0