From 2a21a33578d61a339fc7b8769f011bc940b3cc04 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 10 Feb 2012 22:39:08 +0100 Subject: [PATCH] Fix warning Deleting debug printing had made a variable unused. --- moves.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/moves.c b/moves.c index 0de99f7..12e2057 100644 --- a/moves.c +++ b/moves.c @@ -1097,7 +1097,7 @@ LegalityTestCallback (Board board, int flags, ChessMove kind, int rf, int ff, in ChessMove LegalityTest (Board board, int flags, int rf, int ff, int rt, int ft, int promoChar) { - LegalityTestClosure cl; ChessSquare piece, filterPiece, *castlingRights = board[CASTLING]; + LegalityTestClosure cl; ChessSquare piece, filterPiece; if(quickFlag) flags = flags & ~1 | quickFlag & 1; // [HGM] speed: in quick mode quickFlag specifies side-to-move. if(rf == DROP_RANK) return LegalDrop(board, flags, ff, rt, ft); -- 1.7.0.4