From: Stephen Touset Date: Mon, 24 Jul 2023 22:06:14 +0000 (+0200) Subject: Remove Zobrist::noPawns X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=027713c4b4738446818aedfbfb480e962b624e31 Remove Zobrist::noPawns Zobrist::noPawns is no longer used. closes https://github.com/official-stockfish/Stockfish/pull/4344 no functional change --- diff --git a/AUTHORS b/AUTHORS index b345ff0b..2f323d64 100644 --- a/AUTHORS +++ b/AUTHORS @@ -205,6 +205,7 @@ Stefano Cardanobile (Stefano80) Stefano Di Martino (StefanoD) Steinar Gunderson (sesse) Stéphane Nicolet (snicolet) +Stephen Touset (stouset) Syine Mineta (MinetaS) Thanar2 thaspel diff --git a/src/position.cpp b/src/position.cpp index 31cdbc06..16181e96 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -42,7 +42,7 @@ namespace Zobrist { Key psq[PIECE_NB][SQUARE_NB]; Key enpassant[FILE_NB]; Key castling[CASTLING_RIGHT_NB]; - Key side, noPawns; + Key side; } namespace { @@ -125,7 +125,6 @@ void Position::init() { Zobrist::castling[cr] = rng.rand(); Zobrist::side = rng.rand(); - Zobrist::noPawns = rng.rand(); // Prepare the cuckoo tables std::memset(cuckoo, 0, sizeof(cuckoo));