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
-1
View File
@@ -565,7 +565,6 @@ namespace {
// Step 1. Initialize node
Thread* thisThread = pos.this_thread();
thisThread->depth = depth;
ss->inCheck = pos.checkers();
priorCapture = pos.captured_piece();
Color us = pos.side_to_move();