From 8449f750e62cd229026e9df3bd023ec7e073a7d4 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 36220fdc1..e8e51563f 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -1396,6 +1396,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; @@ -1437,6 +1438,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; @@ -1484,6 +1486,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