forked from nuttx/nuttx-update
Remove an unused variable when calling sigwaitinfo()
This commit is contained in:
parent
4043239cfc
commit
237e041fba
1 changed files with 1 additions and 2 deletions
|
@ -74,7 +74,6 @@
|
|||
|
||||
int pause(void)
|
||||
{
|
||||
struct siginfo value;
|
||||
sigset_t set;
|
||||
int ret;
|
||||
|
||||
|
@ -93,7 +92,7 @@ int pause(void)
|
|||
* meaning that some unblocked signal was caught.
|
||||
*/
|
||||
|
||||
ret = sigwaitinfo(&set, &value);
|
||||
ret = sigwaitinfo(&set, NULL);
|
||||
leave_cancellation_point();
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue