unix/mpthreadport: Suppress compiler warning about unused arguments.

This commit is contained in:
Damien George 2016-05-05 11:00:37 +00:00
parent f1dbd2909e
commit f443504f86
1 changed files with 2 additions and 0 deletions

View File

@ -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();