nghttp2_gzip: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
This commit is contained in:
parent
5f4159a0d7
commit
d725255784
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue