From: Joona Kiiski Date: Sun, 18 Jul 2010 20:35:57 +0000 (+0300) Subject: Do not initialize ss->reduction to zero in the beginning of node X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=a6d13428f644d2ca475a190295f9528c92bdaaec;ds=sidebyside 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 --- 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) {