py/modthread: Satisfy unused-args warning.
This commit is contained in:
parent
dcc7c5bd89
commit
7f4658a7ee
@ -96,6 +96,7 @@ STATIC mp_obj_t thread_lock_locked(mp_obj_t self_in) {
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_1(thread_lock_locked_obj, thread_lock_locked);
|
||||
|
||||
STATIC mp_obj_t thread_lock___exit__(size_t n_args, const mp_obj_t *args) {
|
||||
(void)n_args; // unused
|
||||
return thread_lock_release(args[0]);
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(thread_lock___exit___obj, 4, 4, thread_lock___exit__);
|
||||
|
Loading…
Reference in New Issue
Block a user