#44020: is_unit_state(): "control reaches end of non-void function" in NDEBUG build Open Date: 2022-03-04 09:37 Last Update: 2022-03-29 10:20 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44020 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44020 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-03-29 10:20 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.1 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: is_unit_state() ends with an fc_assert_ret_val_msg(), i.e., it returns value only when asserts are active. -- 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/44020 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44020