summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread_win32.c1
1 files changed, 1 insertions, 0 deletions
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)
{