mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
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>
This commit is contained in:
parent
6716337f40
commit
05c5f08372
1 changed files with 0 additions and 3 deletions
|
@ -2480,10 +2480,7 @@ namespace {
|
||||||
// Initialize SplitPointStack locks
|
// Initialize SplitPointStack locks
|
||||||
for (i = 0; i < MAX_THREADS; i++)
|
for (i = 0; i < MAX_THREADS; i++)
|
||||||
for (int j = 0; j < ACTIVE_SPLIT_POINTS_MAX; j++)
|
for (int j = 0; j < ACTIVE_SPLIT_POINTS_MAX; j++)
|
||||||
{
|
|
||||||
SplitPointStack[i][j].parent = NULL;
|
|
||||||
lock_init(&(SplitPointStack[i][j].lock), NULL);
|
lock_init(&(SplitPointStack[i][j].lock), NULL);
|
||||||
}
|
|
||||||
|
|
||||||
// Will be set just before program exits to properly end the threads
|
// Will be set just before program exits to properly end the threads
|
||||||
AllThreadsShouldExit = false;
|
AllThreadsShouldExit = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue