From e48e12ec095836a665ab91969747ead59df9f464 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sat, 21 May 2011 19:12:10 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ thread.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7209880c0f..00413366a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 22 04:11:12 2011 KOSAKI Motohiro + + * thread.c (Init_Thread): add a code comment why the meaningless + line is necessary. + Sun May 22 01:35:12 2011 Tadayoshi Funaba * ext/date/date_core.c: modified documentation. 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; }