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/objlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/objlist.c') diff --git a/py/objlist.c b/py/objlist.c index de3be4c86..ade062e07 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -68,6 +68,7 @@ STATIC mp_obj_t list_extend_from_iter(mp_obj_t list, mp_obj_t iterable) { } STATIC mp_obj_t list_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { + (void)type_in; mp_arg_check_num(n_args, n_kw, 0, 1, false); switch (n_args) { -- cgit v1.2.3