summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-04-20 17:14:37 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-04-20 17:14:37 (GMT)
commit0064e8ebc7a475d27ba658ca92e40de75c9cac72 (patch)
tree8dd57f129f611f1b87072d7a9785118adbd364ed /lib
parent14c577d4c9332197dc0003833e043608b4b4b239 (diff)
downloadlz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.zip
lz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.tar.gz
lz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.tar.bz2
Remove Commented Out Support for Match Continuation over Segment Boundary
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4hc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c
index 20df8fa..e09d8e0 100644
--- a/lib/lz4hc.c
+++ b/lib/lz4hc.c
@@ -317,11 +317,6 @@ LZ4HC_InsertAndGetWiderMatch (
const BYTE* vLimit = ip + (dictCtx->end - matchPtr);
if (vLimit > iHighLimit) vLimit = iHighLimit;
mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH;
- /*
- if ((ip+mlt == vLimit) && (vLimit < iHighLimit)) {
- mlt += LZ4_count(ip+mlt, base+lowLimit, iHighLimit);
- }
- */
back = delta ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->base + dictCtx->dictLimit) : 0;
mlt -= back;
if (mlt > longest) {