aboutsummaryrefslogtreecommitdiff
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-10 15:51:53 -0700
committerYann Collet <cyan@fb.com>2018-09-10 15:51:53 -0700
commit32272f9866eb6d46e4457190cc7562ade2aa2ca8 (patch)
tree7fdb40be493921d4a4869152782256069e641b14 /lib/lz4.c
parentd28389b2dc215f078fd1329926e696563f1a9c0d (diff)
downloadlz4-32272f9866eb6d46e4457190cc7562ade2aa2ca8.tar.gz
removed temporary debug traces
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index dbda4f14..c68a7daa 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;