[Freeciv-tickets] [freeciv] #42901: explain_why_no_action_enabled() fallthrough warning

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sat Oct 16 14:36:34 JST 2021


#42901: explain_why_no_action_enabled() fallthrough warning

  Open Date: 2021-09-23 05:32
Last Update: 2021-10-16 08:36

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

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

Last Changes/Comment on this Ticket:
2021-10-16 08:36 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
     Component: Server
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

With -Wimplicit-fallthrough enabled:
../../../src/server/unithand.c: In function ‘explain_why_no_action_enabled’:
../../../src/server/unithand.c:2019:5: error: this statement may fall through -Werror=implicit-fallthrough=
2019 |     {
|     
../../../src/server/unithand.c:2038:3: note: here
2038 |   case ANEK_TRIREME_MOVE:
|   ~

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



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