From: W. Felix Handte Date: Thu, 10 May 2018 17:46:19 +0000 (-0400) Subject: Whitespace Fix X-Git-Tag: v1.3.5~3^2~44^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d005e5daf4323b0c67eb34391ca51445a60372a5;p=thirdparty%2Fzstd.git Whitespace Fix --- diff --git a/lib/compress/zstd_fast.c b/lib/compress/zstd_fast.c index 48a165d3f..df2a0a055 100644 --- a/lib/compress/zstd_fast.c +++ b/lib/compress/zstd_fast.c @@ -130,7 +130,7 @@ size_t ZSTD_compressBlock_fast_generic( /* found a dict match */ U32 const offset = (U32)(current-dictMatchIndex-dictIndexDelta); mLength = ZSTD_count_2segments(ip+4, dictMatch+4, iend, dictEnd, istart) + 4; - while (((ip>anchor) & (dictMatch>dictLowest)) + while (((ip>anchor) & (dictMatch>dictLowest)) && (ip[-1] == dictMatch[-1])) { ip--; dictMatch--; mLength++; } /* catch up */ @@ -162,8 +162,8 @@ size_t ZSTD_compressBlock_fast_generic( /* Fill Table */ hashTable[ZSTD_hashPtr(base+current+2, hlog, mls)] = current+2; /* here because current+2 could be > iend-8 */ hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); - /* check immediate repcode */ + /* check immediate repcode */ if (dictMode == ZSTD_dictMatchState) { while (ip <= ilimit) { U32 const current2 = (U32)(ip-base);