summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2016-08-20 21:59:45 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2016-08-20 21:59:45 (GMT)
commit9578ff539d22807e521cb00b40fca99df49b4578 (patch)
treefd6b41a06be2ab68be24a14e9044acd2a2a537ea /lib
parenta7672dc4f91e1be2046b50ac4b14d89f5fea45f3 (diff)
downloadlz4-9578ff539d22807e521cb00b40fca99df49b4578.zip
lz4-9578ff539d22807e521cb00b40fca99df49b4578.tar.gz
lz4-9578ff539d22807e521cb00b40fca99df49b4578.tar.bz2
minor refactor
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index a25093f..7da9deb 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1237,11 +1237,9 @@ FORCE_INLINE int LZ4_decompress_generic(
op = oCopyLimit;
}
while (op<cpy) *op++ = *match++;
- }
- else {
+ } else {
LZ4_copy8(op, match);
- if (length>16)
- LZ4_wildCopy(op+8, match+8, cpy);
+ if (length>16) LZ4_wildCopy(op+8, match+8, cpy);
}
op=cpy; /* correction */
}