diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-21 12:21:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-21 12:21:35 +0000 |
commit | 06f5c93b2e7c06b492cbf720336bc10495e47628 (patch) | |
tree | ae49d60ae5fd7ba047259f7d7bc171269e3286c7 /ChangeLog | |
parent | 05bdfd7c2982de96cc8a7ed2aaac4597463d4c70 (diff) | |
download | ruby-06f5c93b2e7c06b492cbf720336bc10495e47628.tar.gz |
thread.c: refactor a loop
* thread.c (do_select): replace switch and goto with a loop to
suppress maybe-uninitialized warnings by gcc6.
* thread.c (set_unblock_function, rb_wait_for_single_fd): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Tue Jul 21 21:21:33 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * thread.c (do_select): replace switch and goto with a loop to + suppress maybe-uninitialized warnings by gcc6. + + * thread.c (set_unblock_function, rb_wait_for_single_fd): ditto. + Tue Jul 21 20:32:33 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> * test/ruby/test_range.rb: Add test for Range#hash |