Don't init SplitPointStack[i][j].parent
authorMarco Costalba <mcostalba@gmail.com>
Tue, 1 Jun 2010 06:36:30 +0000 (07:36 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 1 Jun 2010 06:36:30 +0000 (07:36 +0100)
It is already set to zero because is allocated in
the global storage area.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp

index 02e171b76bd49a3bb87ddaa34a524e00143c6fbd..f5e3b2bb8b3d441a636a94a45c02a2d5118b267d 100644 (file)
@@ -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;