diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2017-06-19 05:09:36 (GMT) |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2017-06-19 05:57:35 (GMT) |
commit | a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95 (patch) | |
tree | 51336b15f47aae7c4d692df7fa088a734bb32d55 /lib/lz4hc.c | |
parent | 89b9f026c913c0d3e9995f52b49b37f1de1af150 (diff) | |
download | lz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.zip lz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.tar.gz lz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.tar.bz2 |
Fix gcc7 Wimplicit-fallthrough warnings
For the default Wimplicit-fallthrough=3 level,
the comment should start with "fall*"
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r-- | lib/lz4hc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c index a423aea..ca9c2e6 100644 --- a/lib/lz4hc.c +++ b/lib/lz4hc.c @@ -555,7 +555,7 @@ static int LZ4HC_compress_generic ( return LZ4HC_compress_optimal(ctx, src, dst, *srcSizePtr, dstCapacity, limit, 128, 0); default: cLevel = 12; - /* pass-through */ + /* fall-through */ case 12: ctx->searchNum = LZ4HC_getSearchNum(cLevel); return LZ4HC_compress_optimal(ctx, src, dst, *srcSizePtr, dstCapacity, limit, LZ4_OPT_NUM, 1); |