Browse Source

unix/modffi: Eliminate unused-argument warning when debugging disabled.

pull/4554/head
Damien George 6 years ago
parent
commit
55ff562c70
  1. 1
      ports/unix/modffi.c

1
ports/unix/modffi.c

@ -349,6 +349,7 @@ STATIC void ffifunc_print(const mp_print_t *print, mp_obj_t self_in, mp_print_ki
}
STATIC mp_obj_t ffifunc_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) {
(void)n_kw;
mp_obj_ffifunc_t *self = MP_OBJ_TO_PTR(self_in);
assert(n_kw == 0);
assert(n_args == self->cif.nargs);

Loading…
Cancel
Save