Remove an unused variable when calling sigwaitinfo()
This commit is contained in:
parent
4043239cfc
commit
237e041fba
@ -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 New Issue
Block a user