Remove an unused variable when calling sigwaitinfo()
This commit is contained in:
parent
4043239cfc
commit
237e041fba
@ -74,7 +74,6 @@
|
|||||||
|
|
||||||
int pause(void)
|
int pause(void)
|
||||||
{
|
{
|
||||||
struct siginfo value;
|
|
||||||
sigset_t set;
|
sigset_t set;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -93,7 +92,7 @@ int pause(void)
|
|||||||
* meaning that some unblocked signal was caught.
|
* meaning that some unblocked signal was caught.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ret = sigwaitinfo(&set, &value);
|
ret = sigwaitinfo(&set, NULL);
|
||||||
leave_cancellation_point();
|
leave_cancellation_point();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user