summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-10 22:51:53 (GMT)
committerYann Collet <cyan@fb.com>2018-09-10 22:51:53 (GMT)
commit32272f9866eb6d46e4457190cc7562ade2aa2ca8 (patch)
tree7fdb40be493921d4a4869152782256069e641b14 /lib
parentd28389b2dc215f078fd1329926e696563f1a9c0d (diff)
downloadlz4-32272f9866eb6d46e4457190cc7562ade2aa2ca8.zip
lz4-32272f9866eb6d46e4457190cc7562ade2aa2ca8.tar.gz
lz4-32272f9866eb6d46e4457190cc7562ade2aa2ca8.tar.bz2
removed temporary debug traces
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index dbda4f1..c68a7da 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1583,14 +1583,12 @@ _copy_match:
/* specific : partial decode : does not respect end parsing restrictions */
assert(op<=oend);
if (partialDecoding && (cpy > oend-12)) {
- DEBUGLOG(2, "match copy close to the end");
size_t const mlen = MIN(length, (size_t)(oend-op));
const BYTE* const matchEnd = match + mlen;
BYTE* const copyEnd = op + mlen;
if (matchEnd > op) { /* overlap copy */
while (op < copyEnd) *op++ = *match++;
} else {
- DEBUGLOG(2, "let's memcopy %zu bytes (non overlapping)", mlen);
memcpy(op, match, mlen);
}
op = copyEnd;