Fix a MSVC warning

Not correct warning about use of an uninitialized
variable. The warning is not correct becuase we can
never reach the warned code when in SpNode, anyhow
the fix is simple.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-03-24 10:14:21 +01:00
parent b356e0fae3
commit f8224fc7d3
+1
View File
@@ -564,6 +564,7 @@ namespace {
{
tte = NULL;
ttMove = excludedMove = MOVE_NONE;
ttValue = VALUE_ZERO;
sp = ss->sp;
bestMove = sp->bestMove;
threatMove = sp->threatMove;