mirror of
https://github.com/facebook/zstd.git
synced 2025-10-07 00:12:40 -04:00
[nit] Fix buggy indentation
The bug was reported by Dan Carpenter and found by Smatch static checker. https://lore.kernel.org/all/20211008063704.GA5370@kili/
This commit is contained in:
parent
52598d54e9
commit
399644b1f1
@ -1056,7 +1056,7 @@ FORCE_INLINE_TEMPLATE void ZSTD_row_update_internal(ZSTD_matchState_t* ms, const
|
||||
const U32 kMaxMatchEndPositionsToUpdate = 32;
|
||||
|
||||
if (useCache) {
|
||||
/* Only skip positions when using hash cache, i.e.
|
||||
/* Only skip positions when using hash cache, i.e.
|
||||
* if we are loading a dict, don't skip anything.
|
||||
* If we decide to skip, then we only update a set number
|
||||
* of positions at the beginning and end of the match.
|
||||
@ -1985,7 +1985,7 @@ size_t ZSTD_compressBlock_lazy_extDict_generic(
|
||||
matchLength = ml2, start = ip, offset=offsetFound;
|
||||
}
|
||||
|
||||
if (matchLength < 4) {
|
||||
if (matchLength < 4) {
|
||||
ip += ((ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompressible sections */
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user