diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2025-06-24 18:04:59 +0300 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-07-01 14:07:34 +0300 |
| commit | 5575df3d3a216860db720ed5d3d1dcef33ab4d6d (patch) | |
| tree | ce0dab3387bdb722295fda7d2be8629c06b77473 /scripts | |
| parent | ab2924ab5e75380b007fad1fded809b5ba650b76 (diff) | |
| download | linux-5575df3d3a216860db720ed5d3d1dcef33ab4d6d.tar.xz | |
kconfig: gconf: remove meaningless code in init_main_window()
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>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/gconf.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
