From f443504f8623469d44fcf0e69fe79a856286b045 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 5 May 2016 11:00:37 +0000 Subject: [PATCH] unix/mpthreadport: Suppress compiler warning about unused arguments. --- unix/mpthreadport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/mpthreadport.c b/unix/mpthreadport.c index e11a79b471..336db3aa92 100644 --- a/unix/mpthreadport.c +++ b/unix/mpthreadport.c @@ -57,6 +57,8 @@ STATIC volatile int thread_signal_done; // this signal handler is used to scan the regs and stack of a thread STATIC void mp_thread_gc(int signo, siginfo_t *info, void *context) { + (void)info; // unused + (void)context; // unused if (signo == SIGUSR1) { void gc_collect_regs_and_stack(void); gc_collect_regs_and_stack();