From 4f18ec70abd283b24ac9b32da4151430ea6b1b6e Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 25 Oct 2011 15:32:27 +0200 Subject: [PATCH] Fix two warnings --- backend.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backend.c b/backend.c index bac20d8..f4499df 100644 --- a/backend.c +++ b/backend.c @@ -11283,13 +11283,13 @@ int QuickCompare(Board board, int *minCounts, int *maxCounts) for(r=0; r maxCounts[r]) return FALSE; - return TRUE; } + return TRUE; } int QuickScan(Board board, Move *move) @@ -11485,6 +11485,7 @@ int GameContainsPosition(FILE *f, ListGame *lg) fromY = DROP_RANK; toX = currentMoveString[2] - AAA; toY = currentMoveString[3] - ONE; + promoChar = 0; break; } // Move encountered; peform it. We need to shuttle between two boards, as even/odd index determines side to move -- 1.7.0.4