diff options
Diffstat (limited to 'py/objtuple.c')
-rw-r--r-- | py/objtuple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objtuple.c b/py/objtuple.c index 1f2eeb380d..55358a66a0 100644 --- a/py/objtuple.c +++ b/py/objtuple.c @@ -62,6 +62,8 @@ void mp_obj_tuple_print(void (*print)(void *env, const char *fmt, ...), void *en } STATIC mp_obj_t mp_obj_tuple_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) { |