mirror of
https://github.com/sockspls/badfish
synced 2025-06-28 00:19:50 +00:00
Mark variable as potentially unused
fixes CI when compiled with -Werror closes https://github.com/official-stockfish/Stockfish/pull/4221 No functional change
This commit is contained in:
parent
d09653df0d
commit
61a2cb84a6
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void Position::init() {
|
|||
// Prepare the cuckoo tables
|
||||
std::memset(cuckoo, 0, sizeof(cuckoo));
|
||||
std::memset(cuckooMove, 0, sizeof(cuckooMove));
|
||||
int count = 0;
|
||||
[[maybe_unused]] int count = 0;
|
||||
for (Piece pc : Pieces)
|
||||
for (Square s1 = SQ_A1; s1 <= SQ_H8; ++s1)
|
||||
for (Square s2 = Square(s1 + 1); s2 <= SQ_H8; ++s2)
|
||||
|
|
Loading…
Add table
Reference in a new issue