#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-17 08:02 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-17 08:02 Updated by: cazfi * New Ticket "gcc-13: Warning about map_claim_base() could_see_unit potentially used uninitalized" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: gcc-13 gives a warning about could_see_unit in map_claim_base() potentially being used uninitialized. It's 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