summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-05-10 19:19:14 +0300
committerValentin Bartenev <vbart@nginx.com>2017-05-10 19:19:14 +0300
commited38d86abbea981dd3120c5929541c14d667c1ff (patch)
tree204275df39b541ca73deca54faf75b4d0f5878c7 /src/nxt_http_parse.c
parent558d1f8687c2e736947971e7900e1b040103b53b (diff)
downloadunit-ed38d86abbea981dd3120c5929541c14d667c1ff.tar.gz
unit-ed38d86abbea981dd3120c5929541c14d667c1ff.tar.bz2
Added missing "fall through" comments to make GCC 7 happy.
Diffstat (limited to 'src/nxt_http_parse.c')
-rw-r--r--src/nxt_http_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c
index 95745ad4..aba889bf 100644
--- a/src/nxt_http_parse.c
+++ b/src/nxt_http_parse.c
@@ -599,10 +599,13 @@ nxt_http_lookup_field_end(u_char *p, u_char *end)
switch (end - p) {
case 3:
nxt_http_lookup_field_end_step
+ /* Fall through. */
case 2:
nxt_http_lookup_field_end_step
+ /* Fall through. */
case 1:
nxt_http_lookup_field_end_step
+ /* Fall through. */
case 0:
break;
default: