Merge pull request #823 from alagoutte/gcc7

nghtt2_gzip: fix this statement may fall through [-Werror=implicit-fa…
This commit is contained in:
Tatsuhiro Tsujikawa 2017-02-28 23:21:29 +09:00 committed by GitHub
commit d4963bcd32
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;