diff options
| author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-16 08:27:56 +0000 |
|---|---|---|
| committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-16 08:27:56 +0000 |
| commit | 986f11e72ff7dfda0cd2a7f9e7f690929eff0d1f (patch) | |
| tree | f7a0cd83b7c9068db2de462a4b2b638e244e988b /spec/ruby/core/array/reverse_spec.rb | |
| parent | cb2a2c2737be0e965ef3adde46e1eeb80e278fff (diff) | |
thread.c (timeout_prepare): common function
I can't seem to reproduce the maybe-uninitialized warning on
gcc 7 or 8 on Debian sid (7.3.0-16 / 8-20180425-1 r259628),
so the guard from r62305 is dropped.
* thread.c (timeout_prepare): hoist out from do_select
(do_select): ditto
(rb_wait_for_single_fd): use timeout_prepare
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/array/reverse_spec.rb')
0 files changed, 0 insertions, 0 deletions
