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 02e171b..f5e3b2b 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;