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

ruby-changes:12973

From: naruse <ko1@a...>
Date: Sun, 30 Aug 2009 17:00:29 +0900 (JST)
Subject: [ruby-changes:12973] Ruby:r24715 (trunk): * thread.c (do_select): suppress warnings.

naruse	2009-08-30 17:00:14 +0900 (Sun, 30 Aug 2009)

  New Revision: 24715

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

  Log:
    * thread.c (do_select): suppress warnings.

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 24714)
+++ thread.c	(revision 24715)
@@ -2355,7 +2355,7 @@
 	  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;

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

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