summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-28 04:35:29 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-28 04:35:29 +0000
commit5afa25ff75e44e057a58b2eaea8f79c81d19b4b7 (patch)
tree8cc3204cc912aa394a95fad0d6dc62fad4799dc4 /thread.c
parentbd78983475c06ed29711433a349a05482081cc34 (diff)
downloadruby-5afa25ff75e44e057a58b2eaea8f79c81d19b4b7.tar.gz
ruby-5afa25ff75e44e057a58b2eaea8f79c81d19b4b7.tar.xz
ruby-5afa25ff75e44e057a58b2eaea8f79c81d19b4b7.zip
* thread.c (do_select): rollback r24680. void struct initializer is
invalid. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index f00b5dce7..05d129de2 100644
--- a/thread.c
+++ b/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;