summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-05 11:00:37 +0000
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:50 +0100
commitf443504f8623469d44fcf0e69fe79a856286b045 (patch)
tree44639e54e7e978d174c19eef5870f2787ba70513 /unix
parentf1dbd2909e864deaedd35482acda73ef2dbf8882 (diff)
downloadmicropython-f443504f8623469d44fcf0e69fe79a856286b045.tar.gz
micropython-f443504f8623469d44fcf0e69fe79a856286b045.zip
unix/mpthreadport: Suppress compiler warning about unused arguments.
Diffstat (limited to 'unix')
-rw-r--r--unix/mpthreadport.c2
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();