CIFgen.c: warning: this 'for' clause does not guard...

return keyword indention corrected
braces added to previous statement to better convey code
 intention of multiline statement

GCC14 -Wall cleanup series [-Wmisleading-indentation]
This commit is contained in:
Darryl L. Miles 2024-10-04 17:07:15 +01:00 committed by Tim Edwards
parent 0cde303563
commit e8f9b0af5e
1 changed files with 4 additions and 2 deletions

View File

@ -4157,11 +4157,13 @@ bridgeErase(brlims, area)
}
for (t = 0; t < TT_MAXTYPES; t++, temps++)
{
if (TTMaskHasType(&brlims->co_cifMask, t))
if (DBSrPaintArea((Tile *) NULL, *temps, area, &CIFSolidBits, cifPaintFunc, CIFEraseTable))
return 0;
}
return 1; //Nothing found
return 1; //Nothing found
}
/*