#46300: gcc-13: Warning about map_claim_base() could_see_unit potentially used uninitalized Open Date: 2022-12-17 08:02 Last Update: 2022-12-23 00:11 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46300 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46300 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-23 00:11 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed * Details Updated --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.0.6 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: gcc-13 gives a warning about could_see_unit in map_claim_base() potentially being used uninitialized. Its heuristics are off, I think. But we still need to avoid the warning. -- 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/46300 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46300