Skip to content

Commit 7f4658a

Browse files
committed
py/modthread: Satisfy unused-args warning.
1 parent dcc7c5b commit 7f4658a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

py/modthread.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ STATIC mp_obj_t thread_lock_locked(mp_obj_t self_in) {
9696
STATIC MP_DEFINE_CONST_FUN_OBJ_1(thread_lock_locked_obj, thread_lock_locked);
9797

9898
STATIC mp_obj_t thread_lock___exit__(size_t n_args, const mp_obj_t *args) {
99+
(void)n_args; // unused
99100
return thread_lock_release(args[0]);
100101
}
101102
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(thread_lock___exit___obj, 4, 4, thread_lock___exit__);

0 commit comments

Comments
 (0)