X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fpawns.cpp;h=cec9aba142af22fcf96edf82879ef8da7f190fa8;hb=5bed82cd4e34c329bd08c57963ccc93c15ca0f05;hp=5a789ef24bf376063cbbccdddee49d781a2ad035;hpb=4419924fcfd04ad65663b19aa5e122af1339b0eb;p=stockfish diff --git a/src/pawns.cpp b/src/pawns.cpp index 5a789ef2..cec9aba1 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -185,7 +185,7 @@ Score PawnInfoTable::evaluate_pawns(const Position& pos, Bitboard ourPawns, Rank r; int bonus; bool passed, isolated, doubled, opposed, chain, backward, candidate; - Score value = make_score(0, 0); + Score value = SCORE_ZERO; const Square* ptr = pos.piece_list_begin(Us, PAWN); // Initialize pawn storm scores by giving bonuses for open files