summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 23ed2bc07f..cf7affa424 100644
--- a/thread.c
+++ b/thread.c
@@ -4694,6 +4694,7 @@ Init_Thread(void)
rb_thread_create_timer_thread();
+ /* suppress warnings on cygwin, mingw and mswin.*/
(void)native_mutex_trylock;
}