Re: [PATCH] lib: zstd: Mark expected switch fall-throughs

2019-01-30 Thread Kees Cook
On Thu, Jan 31, 2019 at 12:30 PM Gustavo A. R. Silva wrote: > > > > On 1/30/19 1:58 AM, Kees Cook wrote: > > On Wed, Jan 30, 2019 at 12:34 PM Gustavo A. R. Silva > > wrote: > >> > >> In preparation to enabling -Wimplicit-fallthrough, mark switch > >> cases where we are expecting to fall through.

Re: [PATCH] lib: zstd: Mark expected switch fall-throughs

2019-01-30 Thread Gustavo A. R. Silva
On 1/30/19 1:58 AM, Kees Cook wrote: > On Wed, Jan 30, 2019 at 12:34 PM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> lib/zstd/bitstream.h:26

Re: [PATCH] lib: zstd: Mark expected switch fall-throughs

2019-01-29 Thread Kees Cook
On Wed, Jan 30, 2019 at 12:34 PM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > lib/zstd/bitstream.h:261:30: warning: this statement may fall through > [

[PATCH] lib: zstd: Mark expected switch fall-throughs

2019-01-29 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: lib/zstd/bitstream.h:261:30: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/zstd/bitstream.h:262:30: warning: this stateme