From a6d13428f644d2ca475a190295f9528c92bdaaec Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Sun, 18 Jul 2010 23:35:57 +0300 Subject: [PATCH] Do not initialize ss->reduction to zero in the beginning of node It must already be zero because zeroed in SearchStack initialization No functional change Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 7249a113..0f5e6907 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -363,7 +363,6 @@ void init_search() { void SearchStack::init() { currentMove = threatMove = bestMove = MOVE_NONE; - reduction = Depth(0); } // SearchStack::initKillers() initializes killers for a search stack entry @@ -2212,6 +2211,7 @@ namespace { { ss->excludedMove = MOVE_NONE; ss->skipNullMove = false; + ss->reduction = Depth(0); if (i < 3) { -- 2.39.2