From d7252557840c48737b244c81a778cf05e3daf853 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 27 Feb 2017 21:35:16 +0100 Subject: [PATCH] nghttp2_gzip: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7 --- src/nghttp2_gzip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nghttp2_gzip.c b/src/nghttp2_gzip.c index b12f3117..0ede3c5b 100644 --- a/src/nghttp2_gzip.c +++ b/src/nghttp2_gzip.c @@ -72,6 +72,7 @@ int nghttp2_gzip_inflate(nghttp2_gzip *inflater, uint8_t *out, switch (rv) { case Z_STREAM_END: inflater->finished = 1; + /* FALL THROUGH */ case Z_OK: case Z_BUF_ERROR: return 0;