diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-05 11:00:37 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-28 11:28:50 +0100 |
commit | f443504f8623469d44fcf0e69fe79a856286b045 (patch) | |
tree | 44639e54e7e978d174c19eef5870f2787ba70513 /unix | |
parent | f1dbd2909e864deaedd35482acda73ef2dbf8882 (diff) | |
download | micropython-f443504f8623469d44fcf0e69fe79a856286b045.tar.gz micropython-f443504f8623469d44fcf0e69fe79a856286b045.zip |
unix/mpthreadport: Suppress compiler warning about unused arguments.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpthreadport.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |