Cleanup code

This PR includes following cleanups:
- Remove the unused depth variable in the thread class.
- cleanup ValueList (added from mstembera)

closes https://github.com/official-stockfish/Stockfish/pull/4127

No functional change.
This commit is contained in:
Stefan Geschwentner
2022-08-09 20:56:13 +02:00
committed by Joost VandeVondele
parent e639c45577
commit 0a01dd044f
5 changed files with 5 additions and 18 deletions

View File

@@ -1114,7 +1114,6 @@ std::string Eval::trace(Position& pos) {
std::memset(scores, 0, sizeof(scores));
// Reset any global variable used in eval
pos.this_thread()->depth = 0;
pos.this_thread()->trend = SCORE_ZERO;
pos.this_thread()->bestValue = VALUE_ZERO;
pos.this_thread()->optimism[WHITE] = VALUE_ZERO;