#44801: Json protocol dio_put_*() to return int Open Date: 2022-06-11 21:34 Last Update: 2022-06-12 18:36 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44801 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44801 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-12 18:36 Updated by: cazfi Comment: Reply To cazfi clang gives a bunch of "variable 'e' set but not used" -warnings. These indicate real bug - the "use" would be checking the error value, and certainly it should be made when ever error might have been set. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Split from https://www.hostedredmine.com/issues/745593 and continuation to #44458 Turn dio_put_*() return value to int, though all the functions can return just 0 at this point. Port parts of generate_packets.py changes from https://www.hostedredmine.com/issues/745593 that the API change allows. -- 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/44801 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44801