From e48e12ec095836a665ab91969747ead59df9f464 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sat, 21 May 2011 19:12:10 +0000 Subject: * 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 --- thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread.c') 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; } -- cgit v1.2.3