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

2017-11-28 Thread Nick Terrell
> On Nov 27, 2017, at 4:00 PM, Gustavo A. R. Silva > wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Looks good to me. We had the same patch in upstream PR#690 [1]. I believe that

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

2017-11-27 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- lib/zstd/bitstream.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/zstd/bitstream.h b/lib/zstd/bitstream.h index a826b99..18d8200 10