From b09cd0e1eca4f64ca452f68881c25533b7f2e8a0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 2 Jul 2016 15:21:54 +0300 Subject: [PATCH] extmod/modbtree: Fix unused argument warning. --- extmod/modbtree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extmod/modbtree.c b/extmod/modbtree.c index 581b0a01b8..b957f09af6 100644 --- a/extmod/modbtree.c +++ b/extmod/modbtree.c @@ -86,6 +86,7 @@ STATIC mp_obj_t btree_close(mp_obj_t self_in) { STATIC MP_DEFINE_CONST_FUN_OBJ_1(btree_close_obj, btree_close); STATIC mp_obj_t btree_put(size_t n_args, const mp_obj_t *args) { + (void)n_args; mp_obj_btree_t *self = MP_OBJ_TO_PTR(args[0]); DBT key, val; key.data = (void*)mp_obj_str_get_data(args[1], &key.size);