nghttp2_gzip: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7

This commit is contained in:
Alexis La Goutte 2017-02-27 21:35:16 +01:00
parent 5f4159a0d7
commit d725255784
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ int nghttp2_gzip_inflate(nghttp2_gzip *inflater, uint8_t *out,
switch (rv) { switch (rv) {
case Z_STREAM_END: case Z_STREAM_END:
inflater->finished = 1; inflater->finished = 1;
/* FALL THROUGH */
case Z_OK: case Z_OK:
case Z_BUF_ERROR: case Z_BUF_ERROR:
return 0; return 0;