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 | 0fceffce7e422bfd3bba70ba8535f2967473c682 (patch) | |
tree | ae49d60ae5fd7ba047259f7d7bc171269e3286c7 /gc.c | |
parent | 155f3845be2405acd91b2c4940af51197e960894 (diff) |
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 'gc.c')
0 files changed, 0 insertions, 0 deletions