mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
sched: Do not use uninitialized boolean in waitpid(). From Juha Niskanen
This commit is contained in:
@@ -184,7 +184,7 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options)
|
|||||||
{
|
{
|
||||||
FAR struct tcb_s *ctcb;
|
FAR struct tcb_s *ctcb;
|
||||||
FAR struct task_group_s *group;
|
FAR struct task_group_s *group;
|
||||||
bool mystat;
|
bool mystat = false;
|
||||||
int err;
|
int err;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user