Remove an unused variable when calling sigwaitinfo()

This commit is contained in:
Masayuki Ishikawa 2017-03-02 12:58:54 +09:00
parent 4043239cfc
commit 237e041fba

View File

@ -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;
} }