[前][次][番号順一覧][スレッド一覧]

ruby-changes:26132

From: kosaki <ko1@a...>
Date: Wed, 5 Dec 2012 01:05:50 +0900 (JST)
Subject: [ruby-changes:26132] kosaki:r38189 (trunk): supress warning

kosaki	2012-12-05 01:05:40 +0900 (Wed, 05 Dec 2012)

  New Revision: 38189

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38189

  Log:
    supress warning

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 38188)
+++ thread.c	(revision 38189)
@@ -3462,7 +3462,7 @@
 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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]