Project

General

Profile

Bug #11588

loader: isapnp.c: this statement may fall through

Added by Toomas Soome about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with warnings enabled:

    ../../common/isapnp.c: In function 'isapnp_scan_resdata':
    ../../common/isapnp.c:177:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
      177 |       pnp_addident(pi, pnp_eisaformat(resinfo));
          |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../common/isapnp.c:179:17: note: here
      179 |                 case END_TAG:
          |                 ^~~~
    cc1: all warnings being treated as errors

Also available in: Atom PDF