From f8224fc7d31324376c36c4788f1935a341d2187b Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 24 Mar 2012 10:14:21 +0100 Subject: [PATCH] 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 --- src/search.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search.cpp b/src/search.cpp index 8d1b43b0..fb5d375e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -564,6 +564,7 @@ namespace { { tte = NULL; ttMove = excludedMove = MOVE_NONE; + ttValue = VALUE_ZERO; sp = ss->sp; bestMove = sp->bestMove; threatMove = sp->threatMove; -- 2.39.2