1
0
Fork 0
alistair23-linux/lib/zstd
Gustavo A. R. Silva 36f9ff9e03 lib: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of
letting the code fall through to the next case, and by replacing a
number of /* fall through */ comments with the new pseudo-keyword
macro fallthrough.

Notice that Clang doesn't recognize /* Fall through */ comments as
implicit fall-through markings.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2020-11-19 07:23:47 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bitstream.h lib: Fix fall-through warnings for Clang 2020-11-19 07:23:47 -06:00
compress.c Revert "lib: Revert use of fallthrough pseudo-keyword in lib/" 2020-11-18 14:15:17 -06:00
decompress.c Revert "lib: Revert use of fallthrough pseudo-keyword in lib/" 2020-11-18 14:15:17 -06:00
entropy_common.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
error_private.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse_compress.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse_decompress.c lib: Prepare zstd for preboot environment, improve performance 2020-07-31 11:49:07 +02:00
huf.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
huf_compress.c lib: Fix fall-through warnings for Clang 2020-11-19 07:23:47 -06:00
huf_decompress.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
mem.h lib/zstd/mem.h: replace __inline by inline 2019-09-15 19:42:16 +02:00
zstd_common.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
zstd_internal.h lib: Prepare zstd for preboot environment, improve performance 2020-07-31 11:49:07 +02:00
zstd_opt.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00