#45769: gtk4: move_toolkit() double 'iter' assignment Open Date: 2022-10-05 02:33 Last Update: 2022-10-05 02:33 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45769 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45769 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-10-05 02:33 Updated by: cazfi * New Ticket "gtk4: move_toolkit() double 'iter' assignment" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.1.0 Component: Gtk4-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: gtk4-client move_toolkit(): /* Hide all other buttons boxes. */ iter = gtk_widget_get_first_child(GTK_WIDGET(ptoolkit->button_box)); for (iter = gtk_widget_get_first_child(GTK_WIDGET(ptoolkit->button_box)); I (and clang analyzer) think that once is enough. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45769 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45769