From: W. Felix Handte Date: Thu, 22 Mar 2018 21:00:04 +0000 (-0400) Subject: Avoid Resetting Chain Table X-Git-Tag: upstream/1.9.3~8^2~25^2^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6c35ed6422f60a7a542ed237cadfd9dfe76c219;p=platform%2Fupstream%2Flz4.git Avoid Resetting Chain Table --- 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;