X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=f5e3b2bb8b3d441a636a94a45c02a2d5118b267d;hb=05c5f08372f2ba6e28eec0c3d66fbb4f27e853b1;hp=02e171b76bd49a3bb87ddaa34a524e00143c6fbd;hpb=6716337f407ad6586b636aca72ee673655822137;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 02e171b7..f5e3b2bb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -2480,10 +2480,7 @@ namespace { // Initialize SplitPointStack locks for (i = 0; i < MAX_THREADS; i++) for (int j = 0; j < ACTIVE_SPLIT_POINTS_MAX; j++) - { - SplitPointStack[i][j].parent = NULL; lock_init(&(SplitPointStack[i][j].lock), NULL); - } // Will be set just before program exits to properly end the threads AllThreadsShouldExit = false;