X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=efdb287fa740a3325c73771f6b43492345b5dd5e;hb=a4a0ffce711962c0b04b35998c3c06491be373bf;hp=79813013d989408a123d2177ce26a611482fd10b;hpb=e81108a85519dedcb6d0ed8574f35a0b1c90ae97;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 79813013..efdb287f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -2774,7 +2774,7 @@ namespace { } // Wait until the thread has finished launching and is gone to sleep - while (threads[i].state != THREAD_SLEEPING); + while (threads[i].state != THREAD_SLEEPING) {} } } @@ -2815,7 +2815,7 @@ namespace { SplitPoint* sp; - for (sp = threads[threadID].splitPoint; sp && !sp->stopRequest; sp = sp->parent); + for (sp = threads[threadID].splitPoint; sp && !sp->stopRequest; sp = sp->parent) {} return sp != NULL; }