#48208: secfile_entry_ignore() Open Date: 2023-06-10 02:52 Last Update: 2023-06-10 04:14 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48208 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48208 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-06-10 04:14 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from (None) to 3.1.0-beta3 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.1.0-beta3 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: We currently do "(void) secfile_entry_lookup()" to avoid "unused entry" warnings about entries we intentionally ignore. To make code more self documenting (and these cases searchable!), let's introduce wrapper macro with a name that clearly indicates that purpose of the lookup is just to get rid of the "unused entry" warning. This ticket is about introducing the macro. I'm not going through all the existing code to figure out which existing calls should be updated. -- 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/48208 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48208