Remove redundant assignment

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

No functional change
This commit is contained in:
FauziAkram
2025-04-02 17:36:46 +02:00
committed by Disservin
parent ee35a51c40
commit dfef7e7520
+1 -5
View File
@@ -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;