score: Avoid use of uninitialized variable

Properly set the needs_help to NULL in _Scheduler_SMP_Enqueue_ordered()
in case the thread is inserted into the ready set.
This commit is contained in:
Sebastian Huber
2016-05-11 16:07:40 +02:00
parent c3fd48d09c
commit 35c8efc950
@@ -657,6 +657,7 @@ static inline Thread_Control *_Scheduler_SMP_Enqueue_ordered(
);
} else {
( *insert_ready )( context, node );
needs_help = NULL;
}
return needs_help;