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

pull/1/head
Damien George 2019-02-25 14:53:17 +11:00
parent 4ee2c2a4cd
commit 55ff562c70
1 changed files with 1 additions and 0 deletions

View File

@ -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);