fixed minor static analyzer warning
authorYann Collet <cyan@fb.com>
Fri, 3 Nov 2017 19:33:55 +0000 (12:33 -0700)
committerYann Collet <cyan@fb.com>
Fri, 3 Nov 2017 19:33:55 +0000 (12:33 -0700)
dead assignment

lib/lz4hc.c

index 042e034..0cda77c 100644 (file)
@@ -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);