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

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sat Jun 10 08:52:25 JST 2023


#48208: secfile_entry_ignore()

  Open Date: 2023-06-10 02:52
Last Update: 2023-06-10 02:52

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 02:52 Updated by: cazfi
 * New Ticket "secfile_entry_ignore()" created


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

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

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
アーカイブの一覧に戻る