mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (do_select): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2ef382231f
commit
fec3877e8d
1 changed files with 1 additions and 1 deletions
2
thread.c
2
thread.c
|
@ -2355,7 +2355,7 @@ do_select(int n, fd_set *read, fd_set *write, fd_set *except,
|
|||
struct timeval *timeout)
|
||||
{
|
||||
int result, lerrno;
|
||||
fd_set orig_read, orig_write, orig_except;
|
||||
fd_set orig_read = {}, orig_write = {}, orig_except = {};
|
||||
|
||||
#ifndef linux
|
||||
double limit = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue