[Freeciv-tickets] [freeciv] #48208: secfile_entry_ignore()

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun Jun 18 14:16:27 JST 2023


#48208: secfile_entry_ignore()

  Open Date: 2023-06-10 02:52
Last Update: 2023-06-18 08:16

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-18 08:16 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.1.0-beta3
     Component: General
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

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



More information about the Freeciv-tickets mailing list
Back to archive index