mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix a small warning under icc
Variable 'f' in 'for' loop scope hides same named one in outer scope. Of curse no functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
dc286d2673
commit
82a1e2d5fc
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ PawnInfoTable::Values PawnInfoTable::evaluate_pawns(const Position& pos, Bitboar
|
||||||
const Square* ptr = pos.piece_list_begin(Us, PAWN);
|
const Square* ptr = pos.piece_list_begin(Us, PAWN);
|
||||||
|
|
||||||
// Initialize pawn storm scores by giving bonuses for open files
|
// Initialize pawn storm scores by giving bonuses for open files
|
||||||
for (File f = FILE_A; f <= FILE_H; f++)
|
for (f = FILE_A; f <= FILE_H; f++)
|
||||||
if (!(ourPawns & file_bb(f)))
|
if (!(ourPawns & file_bb(f)))
|
||||||
{
|
{
|
||||||
pi->ksStormValue[Us] += KStormOpenFileBonus[f];
|
pi->ksStormValue[Us] += KStormOpenFileBonus[f];
|
||||||
|
|
Loading…
Add table
Reference in a new issue