From b97145ae6c3fa65b59bff5cb08f72e554c558104 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 27 Apr 2017 16:57:18 +0300 Subject: Added missing "fall through" comments (ticket #1259). Found by gcc7 (-Wimplicit-fallthrough). --- src/http/ngx_http_parse.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http') diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 9f9947316..c65f01529 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -1390,6 +1390,7 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r, ngx_uint_t merge_slashes) goto done; case '+': r->plus_in_uri = 1; + /* fall through */ default: state = sw_usual; *u++ = ch; @@ -1431,6 +1432,7 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r, ngx_uint_t merge_slashes) goto done; case '+': r->plus_in_uri = 1; + /* fall through */ default: state = sw_usual; *u++ = ch; @@ -1478,6 +1480,7 @@ ngx_http_parse_complex_uri(ngx_http_request_t *r, ngx_uint_t merge_slashes) goto done; case '+': r->plus_in_uri = 1; + /* fall through */ default: state = sw_usual; *u++ = ch; -- cgit