summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--thread.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7209880c0fd..00413366a60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun May 22 04:11:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * thread.c (Init_Thread): add a code comment why the meaningless
+ line is necessary.
+
Sun May 22 01:35:12 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: modified documentation.
diff --git a/thread.c b/thread.c
index 23ed2bc07fa..cf7affa4247 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;
}