sched: Do not use uninitialized boolean in waitpid(). From Juha Niskanen
This commit is contained in:
parent
6792cb3e34
commit
af6d9e2684
|
@ -184,7 +184,7 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options)
|
|||
{
|
||||
FAR struct tcb_s *ctcb;
|
||||
FAR struct task_group_s *group;
|
||||
bool mystat;
|
||||
bool mystat = false;
|
||||
int err;
|
||||
int ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue