From: Byrial Jensen Date: Mon, 16 Apr 2012 10:56:46 +0000 (+0200) Subject: Remove unused variable delayedKing from function QuickScan X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f372265a57433a70c24a2298503f3537fbb78573;p=xboard.git Remove unused variable delayedKing from function QuickScan --- diff --git a/backend.c b/backend.c index 17f875f..db32288 100644 --- a/backend.c +++ b/backend.c @@ -11561,7 +11561,7 @@ QuickCompare (Board board, int *minCounts, int *maxCounts) int QuickScan (Board board, Move *move) { // reconstruct game,and compare all positions in it - int cnt=0, stretch=0, total = MakePieceList(board, counts), delayedKing = -1; + int cnt=0, stretch=0, total = MakePieceList(board, counts); do { int piece = move->piece; int to = move->to, from = pieceList[piece]; @@ -11608,7 +11608,7 @@ QuickScan (Board board, Move *move) if(stretch++ == 0) for(i=0; i= appData.stretch)) return cnt + 1 - stretch; - move++; delayedKing = -1; + move++; } while(1); }