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/objboundmeth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/objboundmeth.c') diff --git a/py/objboundmeth.c b/py/objboundmeth.c index e451ce4c1..7698ed29f 100644 --- a/py/objboundmeth.c +++ b/py/objboundmeth.c @@ -37,6 +37,7 @@ typedef struct _mp_obj_bound_meth_t { #if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_DETAILED STATIC void bound_meth_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { + (void)kind; mp_obj_bound_meth_t *o = o_in; print(env, "self, PRINT_REPR); -- cgit v1.2.3