summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-25 20:58:22 +0000
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:49 +0100
commit7f4658a7ee15dc9d6b539905f5e3a9b62f02cd70 (patch)
tree236907238b1bee207b30b39ef3725f206e4d5201
parentdcc7c5bd891c5da69f430ab93c24aa2567521b71 (diff)
downloadmicropython-7f4658a7ee15dc9d6b539905f5e3a9b62f02cd70.tar.gz
micropython-7f4658a7ee15dc9d6b539905f5e3a9b62f02cd70.zip
py/modthread: Satisfy unused-args warning.
-rw-r--r--py/modthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/modthread.c b/py/modthread.c
index fd5932059e..a30be688e4 100644
--- a/py/modthread.c
+++ b/py/modthread.c
@@ -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__);