From ee7c260b6023f5152560744125b6ea532a778b01 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 28 Sep 2020 12:50:39 +0900 Subject: thread_win32.c: native_mutex_trylock is not used right now --- thread_win32.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index 842a9efc85..9b80bfc1f8 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -340,6 +340,7 @@ rb_native_mutex_unlock(rb_nativethread_lock_t *lock) #endif } +RBIMPL_ATTR_MAYBE_UNUSED() static int native_mutex_trylock(rb_nativethread_lock_t *lock) { -- cgit v1.2.3