diff --git a/src/java-unsafe/net/jpountz/lz4/LZ4UnsafeUtils.java b/src/java-unsafe/net/jpountz/lz4/LZ4UnsafeUtils.java index ec2ee9f..5385e4b 100644 --- a/src/java-unsafe/net/jpountz/lz4/LZ4UnsafeUtils.java +++ b/src/java-unsafe/net/jpountz/lz4/LZ4UnsafeUtils.java @@ -98,7 +98,6 @@ static void wildIncrementalCopy(byte[] dest, int matchOff, int dOff, int matchCo static void safeIncrementalCopy(byte[] dest, int matchOff, int dOff, int matchLen) { for (int i = 0; i < matchLen; ++i) { - dest[dOff + i] = dest[matchOff + i]; writeByte(dest, dOff + i, readByte(dest, matchOff + i)); } }