mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
Remove redundant assignment
closes https://github.com/official-stockfish/Stockfish/pull/5944 No functional change
This commit is contained in:
+1
-5
@@ -298,14 +298,10 @@ void Search::Worker::iterative_deepening() {
|
||||
&this->continuationHistory[0][0][NO_PIECE][0]; // Use as a sentinel
|
||||
(ss - i)->continuationCorrectionHistory = &this->continuationCorrectionHistory[NO_PIECE][0];
|
||||
(ss - i)->staticEval = VALUE_NONE;
|
||||
(ss - i)->reduction = 0;
|
||||
}
|
||||
|
||||
for (int i = 0; i <= MAX_PLY + 2; ++i)
|
||||
{
|
||||
(ss + i)->ply = i;
|
||||
(ss + i)->reduction = 0;
|
||||
}
|
||||
(ss + i)->ply = i;
|
||||
|
||||
ss->pv = pv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user