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

ruby-changes:25085

From: naruse <ko1@a...>
Date: Thu, 11 Oct 2012 09:51:39 +0900 (JST)
Subject: [ruby-changes:25085] naruse:r37137 (trunk): Suppress warning: 'iseqval' may be used uninitialized in this function

naruse	2012-10-11 09:50:29 +0900 (Thu, 11 Oct 2012)

  New Revision: 37137

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

  Log:
    Suppress warning: 'iseqval' may be used uninitialized in this function

  Modified files:
    trunk/iseq.c

Index: iseq.c
===================================================================
--- iseq.c	(revision 37136)
+++ iseq.c	(revision 37137)
@@ -581,7 +581,7 @@
     int state;
     rb_thread_t *th = GET_THREAD();
     rb_block_t *prev_base_block = th->base_block;
-    VALUE iseqval;
+    VALUE iseqval = Qundef;
 
     th->base_block = base_block;
 

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

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