1
0
Fork 0
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:
nobu 2009-08-26 23:18:49 +00:00
parent 2ef382231f
commit fec3877e8d

View file

@ -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;