X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fpawns.cpp;h=70fb6f23782a3ef7cce021f22258bc18a60791c9;hb=af0d82792e21f0362b781fc671ae8b7a0642e61a;hp=81255813565ef3ac5dfdb397f575c72a8abf7e49;hpb=ec42154ef2569a58dae2164e328d5bbffcb2aee9;p=stockfish diff --git a/src/pawns.cpp b/src/pawns.cpp index 81255813..70fb6f23 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -109,7 +109,8 @@ namespace { e->blockedCount += popcount(shift(ourPawns) & (theirPawns | doubleAttackThem)); // Loop through all pawns of the current color and score each pawn - while (b) { + while (b) + { s = pop_lsb(b); assert(pos.piece_on(s) == make_piece(Us, PAWN));