aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2019-02-25 14:53:17 +1100
committerDamien George2019-02-25 14:53:17 +1100
commit55ff562c70825aa198c62cda73387946803a8805 (patch)
tree7be59843c2b8e46db07bdd0d10c3a4cf65838224
parent4ee2c2a4cd1914a06175919cc2fb6403ad668318 (diff)
unix/modffi: Eliminate unused-argument warning when debugging disabled.
-rw-r--r--ports/unix/modffi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/modffi.c b/ports/unix/modffi.c
index 4dea88768..0f8551e0a 100644
--- a/ports/unix/modffi.c
+++ b/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);