X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;h=856454ca3f6079b3e39fd9f956b9f77591b00238;hb=7c256e07bc19f67172924d91dce25291ce480988;hp=e20d2e40ad582a7619d1719e77c6f9e388e9690a;hpb=faf83d9ada6e3cdfee3f02dbe5140332924ac61f;p=xboard.git diff --git a/moves.c b/moves.c index e20d2e4..856454c 100644 --- a/moves.c +++ b/moves.c @@ -1305,7 +1305,7 @@ CheckTest (Board board, int flags, int rf, int ff, int rt, int ft, int enPassant { CheckTestClosure cl; ChessSquare king = flags & F_WHITE_ON_MOVE ? WhiteKing : BlackKing; - ChessSquare captured = EmptySquare, ep, trampled; + ChessSquare captured = EmptySquare, ep=0, trampled=0; /* Suppress warnings on uninitialized variables */ if(gameInfo.variant == VariantXiangqi)