#45831: research_invention_state() trying to return -1 on error Open Date: 2022-10-11 16:28 Last Update: 2022-10-11 16:28 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-10-11 16:28 Updated by: cazfi * New Ticket "research_invention_state() trying to return -1 on error" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.5 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- 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