Skip to content
Snippets Groups Projects
Commit f443504f authored by Damien George's avatar Damien George
Browse files

unix/mpthreadport: Suppress compiler warning about unused arguments.

parent f1dbd290
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,8 @@ STATIC volatile int thread_signal_done; ...@@ -57,6 +57,8 @@ STATIC volatile int thread_signal_done;
// this signal handler is used to scan the regs and stack of a thread // 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) { STATIC void mp_thread_gc(int signo, siginfo_t *info, void *context) {
(void)info; // unused
(void)context; // unused
if (signo == SIGUSR1) { if (signo == SIGUSR1) {
void gc_collect_regs_and_stack(void); void gc_collect_regs_and_stack(void);
gc_collect_regs_and_stack(); gc_collect_regs_and_stack();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment