1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert wrong commit r24715 "* thread.c (do_select): suppress warnings."

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-08-30 08:06:24 +00:00
parent 6ab36c6e19
commit 18b17dcd19

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;