sched: Do not use uninitialized boolean in waitpid(). From Juha Niskanen

This commit is contained in:
Gregory Nutt 2015-03-12 07:45:10 -06:00
parent 6792cb3e34
commit af6d9e2684
1 changed files with 1 additions and 1 deletions

View File

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