#45614: city_units_upkeep(): Pointless memset() Open Date: 2022-09-09 04:02 Last Update: 2022-09-23 15:07 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45614 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45614 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-23 15:07 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.0.4 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: city_units_upkeep() fills free_uk[] with zero by memset(). That's pointless, as all relevant values get assigned (none left uninitialized, or just added to) -- 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/45614 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45614