From 05c5f08372f2ba6e28eec0c3d66fbb4f27e853b1 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 1 Jun 2010 07:36:30 +0100 Subject: [PATCH 1/1] Don't init SplitPointStack[i][j].parent It is already set to zero because is allocated in the global storage area. No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.2