diff --git a/src/position.c b/src/position.c index bb737ac..bf965d4 100644 --- a/src/position.c +++ b/src/position.c @@ -360,7 +360,7 @@ bitboard_t pos_king_blockers(const pos_t *pos, const color_t color, const bitboa bool pos_ok(pos_t *pos, const bool strict) { int n, count = 0, bbcount = 0, error = 0; - color_t us = pos->turn, them = OPPONENT(us); + color_t __unused us = pos->turn, __unused them = OPPONENT(us); /* force BUG_ON and WARN_ON */ # pragma push_macro("BUG_ON") @@ -391,7 +391,7 @@ bool pos_ok(pos_t *pos, const bool strict) } for (square_t sq = 0; sq < 64; ++sq) { piece_t piece = pos->board[sq]; - bitboard_t match; + __unused bitboard_t match; if (piece == EMPTY) continue; color_t c = COLOR(piece); diff --git a/test/common-test.h b/test/common-test.h index c4b5f66..44bbe92 100644 --- a/test/common-test.h +++ b/test/common-test.h @@ -61,10 +61,12 @@ struct fentest { * "r3k2r/p6p/8/B7/1pp1p3/3b4/P6P/R3K2R w KQkq - 0 1" // Perft(6) == 77,054,993 * }, */ - { __LINE__, FEN | MOVEGEN | MOVEDO | PERFT, - "from https://www.talkchess.com/forum/viewtopic.php?t=42463", - "rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6" - }, + /* + * { __LINE__, FEN | MOVEGEN | MOVEDO | PERFT, + * "from https://www.talkchess.com/forum/viewtopic.php?t=42463", + * "rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6" + * }, + */ /* r3k2r/pb3p2/5npp/n2p4/1p1PPB2/6P1/P2N1PBP/R3K2R w KQkq - // Perft(5) == 29,179,893 */