summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/lz4opt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lz4opt.h b/lib/lz4opt.h
index d51d491..416241a 100644
--- a/lib/lz4opt.h
+++ b/lib/lz4opt.h
@@ -278,7 +278,6 @@ static int LZ4HC_compress_optimal (
price = opt[cur - 1].price + LZ4HC_literalsPrice(1);
}
- best_mlen = 0;
if (price < (size_t)opt[cur].price)
SET_PRICE(cur, 1, 0, litlen, price); /* note : increases last_pos */
}