diff --git a/src/search.cpp b/src/search.cpp index 01412276..387c92b0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -653,7 +653,6 @@ void SearchStack::init(int ply) { currentMove = threatMove = MOVE_NONE; reduction = Depth(0); eval = VALUE_NONE; - evalInfo = NULL; } void SearchStack::initKillers() { @@ -1386,10 +1385,7 @@ namespace { if (tte && (tte->type() & VALUE_TYPE_EVAL)) staticValue = value_from_tt(tte->value(), ply); else - { staticValue = evaluate(pos, ei, threadID); - ss[ply].evalInfo = &ei; - } ss[ply].eval = staticValue; futilityValue = staticValue + futility_margin(depth, 0); //FIXME: Remove me, only for split diff --git a/src/search.h b/src/search.h index 4a6d3da5..1dc4e1fa 100644 --- a/src/search.h +++ b/src/search.h @@ -57,7 +57,6 @@ struct SearchStack { Move killers[KILLER_MAX]; Depth reduction; Value eval; - EvalInfo* evalInfo; void init(int ply); void initKillers();