From aa99163752079890c8d75461d2b5c1fd7c426c3b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 3 Nov 2017 12:33:55 -0700 Subject: [PATCH] fixed minor static analyzer warning dead assignment --- lib/lz4hc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/lz4hc.c b/lib/lz4hc.c index 042e034..0cda77c 100644 --- a/lib/lz4hc.c +++ b/lib/lz4hc.c @@ -661,7 +661,6 @@ static int LZ4HC_compress_generic ( case 11: return LZ4HC_compress_optimal(ctx, src, dst, *srcSizePtr, dstCapacity, limit, 512, 128, 0); default: - cLevel = 12; /* fall-through */ case 12: return LZ4HC_compress_optimal(ctx, src, dst, *srcSizePtr, dstCapacity, limit, 1<<13, LZ4_OPT_NUM, 1); -- 2.7.4