]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove useless initializations (#2115)
[stockfish] / src / search.cpp
index 5911e983fbae27a610110359c33de7e386c2c65e..f9fdc261b16c9185520fa79d7a0d02e0eccdf2a6 100644 (file)
@@ -584,8 +584,7 @@ namespace {
     assert(0 <= ss->ply && ss->ply < MAX_PLY);
 
     (ss+1)->ply = ss->ply + 1;
-    ss->currentMove = (ss+1)->excludedMove = bestMove = MOVE_NONE;
-    ss->continuationHistory = &thisThread->continuationHistory[NO_PIECE][0];
+    (ss+1)->excludedMove = bestMove = MOVE_NONE;
     (ss+2)->killers[0] = (ss+2)->killers[1] = MOVE_NONE;
     Square prevSq = to_sq((ss-1)->currentMove);