Skip to content

Commit

Permalink
* thread.c (do_select): suppress warnings.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 26, 2009
1 parent 2ef3822 commit fec3877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fec3877

Please sign in to comment.