#45769: gtk4: move_toolkit() double 'iter' assignment Open Date: 2022-10-05 02:33 Last Update: 2022-10-09 02:53 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-09 02:53 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.1.0 Component: Gtk4-client Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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