summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-03-20 16:58:00 (GMT)
committerYann Collet <cyan@fb.com>2017-03-20 16:58:00 (GMT)
commit68044acfec4a13284ca7c38744a70288a46609aa (patch)
tree7575996b41494ffe5141c6232d5a46a397deb8d4
parentb8bc70022bb5b9f1775796c3df90dac5d2f55686 (diff)
parentf513020a6df8e1c8c51e03d849c8574f821b765b (diff)
downloadlz4-68044acfec4a13284ca7c38744a70288a46609aa.zip
lz4-68044acfec4a13284ca7c38744a70288a46609aa.tar.gz
lz4-68044acfec4a13284ca7c38744a70288a46609aa.tar.bz2
Merge branch 'optlz4opt' of github.com:Cyan4973/lz4 into optlz4opt
-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 */
}