summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-03-22 21:00:04 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-04-20 00:54:35 (GMT)
commitb6c35ed6422f60a7a542ed237cadfd9dfe76c219 (patch)
tree09b0eb29def6f8a3c5f100e49146b64dd2cfa5a4
parent595ea582890031c30ded483130116ec6a0179a5c (diff)
downloadlz4-b6c35ed6422f60a7a542ed237cadfd9dfe76c219.zip
lz4-b6c35ed6422f60a7a542ed237cadfd9dfe76c219.tar.gz
lz4-b6c35ed6422f60a7a542ed237cadfd9dfe76c219.tar.bz2
Avoid Resetting Chain Table
-rw-r--r--lib/lz4hc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c
index b6d9bf0..0caf001 100644
--- a/lib/lz4hc.c
+++ b/lib/lz4hc.c
@@ -87,7 +87,6 @@ static U32 LZ4HC_hashPtr(const void* ptr) { return HASH_FUNCTION(LZ4_read32(ptr)
static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start)
{
DEBUGLOG(4, "LZ4HC_init(%p, %p)", hc4, start);
- MEM_INIT(hc4->chainTable, 0xFF, sizeof(hc4->chainTable));
hc4->nextToUpdate = 64 KB;
hc4->base = start - 64 KB;
hc4->end = start;