ostest: Fixed use of uninitialized variable.
This commit is contained in:
parent
f58c87e7ed
commit
b93aa0cb8d
@ -236,6 +236,7 @@ static FAR void *sig_waiter(FAR void *parameter)
|
||||
|
||||
printf("sig_waiter: Waiting to receive signal %d ...\n", SIG_WAITCANCEL);
|
||||
|
||||
sigemptyset(&set);
|
||||
ret = sigwaitinfo(&set, &info);
|
||||
|
||||
pthread_testcancel();
|
||||
|
Loading…
Reference in New Issue
Block a user