#46278: city_rally_point_receive() 'pcity' should not be nonnull Open Date: 2022-12-15 18:02 Last Update: 2022-12-15 18:02 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46278 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46278 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-15 18:02 Updated by: cazfi * New Ticket "city_rally_point_receive() 'pcity' should not be nonnull" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.1.0-beta1 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: CI build mac-meson complains about the fact that city_rally_point_receive() makes a tautological check against NULL pcity while the parameter is defined nonnull. I think we have to support NULL pcity there, even though I've not seen any compiler to give an error about NULL passed now that it has been nonnull. -- 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/46278 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46278