#45673: sdl2: add_widget_to_vertical_scroll_widget_list() dead assignment of 'count' Open Date: 2022-09-20 12:04 Last Update: 2022-09-20 12:04 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45673 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45673 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-20 12:04 Updated by: cazfi * New Ticket "sdl2: add_widget_to_vertical_scroll_widget_list() dead assignment of 'count'" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.4 Component: SDL2-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: As reported by clang analyzer (from S3_0) add_widget_to_vertical_scroll_widget_list() has an unused assignment of 'count = 0;' That variable is not used as a counter to increase, but the actual values used are assigned to it whole. -- 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/45673 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45673