From: Nick Terrell Date: Fri, 8 Oct 2021 18:13:11 +0000 (-0700) Subject: [nit] Fix buggy indentation X-Git-Tag: v1.4.10~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c94f9fc614f5adc6a0a9aaa319e975cc4d81f1f;p=thirdparty%2Fzstd.git [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/ --- diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c index 75745a79b..c5fe6dd47 100644 --- a/lib/compress/zstd_lazy.c +++ b/lib/compress/zstd_lazy.c @@ -1264,7 +1264,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; }