]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kconfig: gconf: remove meaningless code in init_main_window()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:04:59 +0000 (00:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Jul 2025 11:07:34 +0000 (20:07 +0900)
The 'widget' variable is set, but not used in later code.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
scripts/kconfig/gconf.c

index 7960c456e3b9a93bdbb995d2b0798ef8669e9b54..4b5befa4f685cad6d68ab591195b42c7fb3c27d6 100644 (file)
@@ -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);