mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
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:
committed by
Joost VandeVondele
parent
e639c45577
commit
0a01dd044f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user