[Freeciv-tickets] [freeciv] #42872: Fallthrough from VUT_CITYTILE case in req_text_insert()

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Fri Sep 24 01:23:02 JST 2021


#42872: Fallthrough from VUT_CITYTILE case in req_text_insert()

  Open Date: 2021-09-18 04:28
Last Update: 2021-09-23 19:23

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/42872
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42872

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2021-09-23 19:23 Updated by: cazfi
 * Status Update from Open to Closed
 * Owner Update from (None) to cazfi
 * Resolution Update from Accepted to Fixed


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

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

Ticket details:

With -Wimplicit-fallthrough in master:
../../../src/common/reqtext.c: In function ‘req_text_insert’:
../../../src/common/reqtext.c:2736:12: error: this statement may fall through -Werror=implicit-fallthrough=
2736 |     } else {
|            
../../../src/common/reqtext.c:2809:3: note: here
2809 |   case VUT_CITYSTATUS:
|   ~
cc1: all warnings being treated as errors

-- 
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/42872
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42872



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index