Skip to content

-Wimplicit-fallthrough= compiler warning #72

@zfields

Description

@zfields
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c: In function 'http_parser_execute':
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c:1817:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
               parser->upgrade = 1;
               ~~~~~~~~~~~~~~~~^~~
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c:1819:13: note: here
             case 1:
             ^~~~
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c: In function 'http_parser_parse_url':
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c:2376:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
         found_at = 1;
         ~~~~~~~~~^~~
~/Development/Arduino/hardware/test/mbed_opta/libraries/SocketWrapper/src/utility/http_parser/http_parser.c:2379:7: note: here
       case s_req_server:
       ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions