#45831: research_invention_state() trying to return -1 on error Open Date: 2022-10-11 16:28 Last Update: 2022-12-17 12:35 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45831 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45831 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-17 12:35 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.6 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: research_invention_state() return type is enum tech_state, but it still has: fc_assert_ret_val(NULL != valid_advance_by_number(tech), -1); -- 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/45831 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45831