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

ruby-changes:32620

From: nobu <ko1@a...>
Date: Fri, 24 Jan 2014 16:17:23 +0900 (JST)
Subject: [ruby-changes:32620] nobu:r44699 (trunk): vm_backtrace.c: initialize flag

nobu	2014-01-24 16:17:17 +0900 (Fri, 24 Jan 2014)

  New Revision: 44699

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

  Log:
    vm_backtrace.c: initialize flag
    
    * vm_backtrace.c (rb_backtrace_print_as_bugreport): initialize
      header-printed flag.

  Modified files:
    trunk/vm_backtrace.c
Index: vm_backtrace.c
===================================================================
--- vm_backtrace.c	(revision 44698)
+++ vm_backtrace.c	(revision 44699)
@@ -766,7 +766,7 @@ void https://github.com/ruby/ruby/blob/trunk/vm_backtrace.c#L766
 rb_backtrace_print_as_bugreport(void)
 {
     struct oldbt_arg arg;
-    int i;
+    int i = 0;
 
     arg.func = oldbt_bugreport;
     arg.data = (int *)&i;

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

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