Skip to content

Commit

Permalink
unix/mpthreadport: Suppress compiler warning about unused arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed May 5, 2016
1 parent dc6d60a commit ef241a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unix/mpthreadport.c
Expand Up @@ -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();
Expand Down

0 comments on commit ef241a6

Please sign in to comment.