summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 19:12:10 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-21 19:12:10 +0000
commite48e12ec095836a665ab91969747ead59df9f464 (patch)
tree3055634eafffaa018a9923f60417774539b8e6d3 /thread.c
parentbe14985b0c1ac786b01e8b2aef8e78106a5f11d9 (diff)
* thread.c (Init_Thread): add a code comment why the meaningless
line is necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;
}