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

ruby-changes:12941

From: nobu <ko1@a...>
Date: Thu, 27 Aug 2009 08:19:02 +0900 (JST)
Subject: [ruby-changes:12941] Ruby:r24680 (trunk): * thread.c (do_select): suppress warnings.

nobu	2009-08-27 08:18:49 +0900 (Thu, 27 Aug 2009)

  New Revision: 24680

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

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

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 24679)
+++ thread.c	(revision 24680)
@@ -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/

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