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 /gc.c | |
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 'gc.c')
0 files changed, 0 insertions, 0 deletions