1
0
Fork 0

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 <mcostalba@gmail.com>
sf_2.3.1_base
Marco Costalba 2010-06-01 07:36:30 +01:00
parent 6716337f40
commit 05c5f08372
1 changed files with 0 additions and 3 deletions

View 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;