]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Initialize a new split point out of lock
[stockfish] / src / search.cpp
index 5a72d6b06d391eb3b9fc826f3c07eca4d9f5c6e1..d06ca8f3bfd98ed3f4755ad0e0571836ba502b15 100644 (file)
@@ -2241,8 +2241,6 @@ void ThreadsManager::idle_loop(int threadID, SplitPoint* sp) {
           // In helpful master concept a master can help only a sub-tree, and
           // because here is all finished is not possible master is booked.
           assert(threads[threadID].state == Thread::AVAILABLE);
-
-          threads[threadID].state = Thread::SEARCHING;
           return;
       }
   }