projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
da9f696
)
Fix warning in CheckTest
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 22:26:03 +0000 (23:26 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 18 Jan 2014 23:02:05 +0000 (
00:02
+0100)
moves.c
patch
|
blob
|
history
diff --git
a/moves.c
b/moves.c
index
e20d2e4
..
856454c
100644
(file)
--- 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)