summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-11-03 19:33:55 (GMT)
committerYann Collet <cyan@fb.com>2017-11-03 19:33:55 (GMT)
commitaa99163752079890c8d75461d2b5c1fd7c426c3b (patch)
tree6e92343f21d277ebd86bd33b36bf319537aac74c /lib
parent89821ac7a1e9bdeef33c747321b6deec66cbde1e (diff)
downloadlz4-aa99163752079890c8d75461d2b5c1fd7c426c3b.zip
lz4-aa99163752079890c8d75461d2b5c1fd7c426c3b.tar.gz
lz4-aa99163752079890c8d75461d2b5c1fd7c426c3b.tar.bz2
fixed minor static analyzer warning
dead assignment
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4hc.c1
1 files changed, 0 insertions, 1 deletions
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);