mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
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:
@@ -564,6 +564,7 @@ namespace {
|
||||
{
|
||||
tte = NULL;
|
||||
ttMove = excludedMove = MOVE_NONE;
|
||||
ttValue = VALUE_ZERO;
|
||||
sp = ss->sp;
|
||||
bestMove = sp->bestMove;
|
||||
threatMove = sp->threatMove;
|
||||
|
||||
Reference in New Issue
Block a user