Treat warning as errors
This commit is contained in:
@@ -1815,6 +1815,9 @@ reexecute:
|
||||
|
||||
case 2:
|
||||
parser->upgrade = 1;
|
||||
#if __GNUC__ >= 7
|
||||
__attribute__ ((fallthrough));
|
||||
#endif
|
||||
|
||||
case 1:
|
||||
parser->flags |= F_SKIPBODY;
|
||||
@@ -2374,6 +2377,9 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
|
||||
|
||||
case s_req_server_with_at:
|
||||
found_at = 1;
|
||||
#if __GNUC__ >= 7
|
||||
__attribute__ ((fallthrough));
|
||||
#endif
|
||||
|
||||
/* FALLTROUGH */
|
||||
case s_req_server:
|
||||
|
||||
Reference in New Issue
Block a user