Skip to content

Commit f443504

Browse files
committed
unix/mpthreadport: Suppress compiler warning about unused arguments.
1 parent f1dbd29 commit f443504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unix/mpthreadport.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ STATIC volatile int thread_signal_done;
5757

5858
// this signal handler is used to scan the regs and stack of a thread
5959
STATIC void mp_thread_gc(int signo, siginfo_t *info, void *context) {
60+
(void)info; // unused
61+
(void)context; // unused
6062
if (signo == SIGUSR1) {
6163
void gc_collect_regs_and_stack(void);
6264
gc_collect_regs_and_stack();

0 commit comments

Comments
 (0)