mirror of https://github.com/acidanthera/audk.git
BaseTools LzmaCompress: Fix GCC warning misleading-indentation
GCC 6 or above reports the warning misleading-indentation. This patch fixes it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Star Zeng <star.zeng@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1234 [lersek@redhat.com: reference the BZ that got reported meanwhile]
This commit is contained in:
parent
39bbbc8759
commit
50431b9cc7
|
@ -1464,7 +1464,9 @@ static unsigned GetOptimum(CLzmaEnc *p, UInt32 position)
|
||||||
unsigned limit = p->numFastBytes + 1;
|
unsigned limit = p->numFastBytes + 1;
|
||||||
if (limit > numAvailFull)
|
if (limit > numAvailFull)
|
||||||
limit = numAvailFull;
|
limit = numAvailFull;
|
||||||
for (len = 3; len < limit && data[len] == data2[len]; len++);
|
for (len = 3; len < limit && data[len] == data2[len]; len++)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
unsigned state2 = kLiteralNextStates[state];
|
unsigned state2 = kLiteralNextStates[state];
|
||||||
|
|
Loading…
Reference in New Issue