From ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 20 Jan 2015 12:47:20 +0000 Subject: py, unix: Allow to compile with -Wunused-parameter. See issue #699. --- py/objmodule.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/objmodule.c') diff --git a/py/objmodule.c b/py/objmodule.c index d1d2293a2..0e806a705 100644 --- a/py/objmodule.c +++ b/py/objmodule.c @@ -34,6 +34,7 @@ #include "py/builtin.h" STATIC void module_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) { + (void)kind; mp_obj_module_t *self = self_in; const char *name = qstr_str(self->name); -- cgit v1.2.3