diff options
Diffstat (limited to 'mysys/thr_alarm.c')
-rw-r--r-- | mysys/thr_alarm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c index 92a471075c6..2cdcd5a28b1 100644 --- a/mysys/thr_alarm.c +++ b/mysys/thr_alarm.c @@ -707,8 +707,7 @@ static void *signal_hand(void *arg __attribute__((unused))) DBUG_PRINT("info",("Starting signal and alarm handling thread")); for(;;) { - int code; - while ((error=my_sigwait(&set,&sig,&code)) == EINTR) + while ((error= my_sigwait(&set, &sig)) == EINTR) printf("sigwait restarted\n"); if (error) { |