From 3765f668c616c1ef2b8d4feb9195fb2c62e96c3d Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 4 Dec 2012 16:05:40 +0000 Subject: supress warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 3aeebaf13a..a4b6d97669 100644 --- a/thread.c +++ b/thread.c @@ -3462,7 +3462,7 @@ int rb_wait_for_single_fd(int fd, int events, struct timeval *tv) { struct pollfd fds; - int result, lerrno; + int result = 0, lerrno; double limit = 0; struct timespec ts; struct timespec *timeout = NULL; -- cgit v1.2.3