From f372265a57433a70c24a2298503f3537fbb78573 Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Mon, 16 Apr 2012 12:56:46 +0200 Subject: [PATCH] Remove unused variable delayedKing from function QuickScan --- backend.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.0.4