From f4c2bd13a0b2399e1b5d64bbf5a565e0ffb7013a Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 24 Dec 2023 14:40:51 +0100 Subject: Fixed dead assignment --- FICS/movecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FICS/movecheck.c b/FICS/movecheck.c index 8b2f773..ed2d8dd 100644 --- a/FICS/movecheck.c +++ b/FICS/movecheck.c @@ -947,7 +947,7 @@ execute_move(game_state_t *gs, move_t *mt, int check_game_status) if (mt->fromFile == ALG_DROP) { movedPiece = mt->fromRank; - tookPiece = NOPIECE; +// tookPiece = NOPIECE; gs->holding[gs->onMove == WHITE ? 0 : 1][movedPiece-1]--; gs->board[mt->toFile][mt->toRank] = (movedPiece | gs->onMove); -- cgit v1.2.3