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

ruby-changes:29779

From: akr <ko1@a...>
Date: Mon, 8 Jul 2013 22:00:23 +0900 (JST)
Subject: [ruby-changes:29779] akr:r41831 (trunk): * bignum.c (bary_mul_balance): Initialize a local variable to suppress

akr	2013-07-08 22:00:11 +0900 (Mon, 08 Jul 2013)

  New Revision: 41831

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

  Log:
    * bignum.c (bary_mul_balance): Initialize a local variable to suppress
      a warning.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41830)
+++ ChangeLog	(revision 41831)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jul  8 21:59:34 2013  Tanaka Akira  <akr@f...>
+
+	* bignum.c (bary_mul_balance): Initialize a local variable to suppress
+	  a warning.
+
 Mon Jul  8 20:55:22 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (bary_mul_balance): Reduce work memory.
Index: bignum.c
===================================================================
--- bignum.c	(revision 41830)
+++ bignum.c	(revision 41831)
@@ -1542,7 +1542,7 @@ static void https://github.com/ruby/ruby/blob/trunk/bignum.c#L1542
 bary_mul_balance(BDIGIT *zds, size_t zl, BDIGIT *xds, size_t xl, BDIGIT *yds, size_t yl)
 {
     VALUE work = 0;
-    BDIGIT *wds;
+    BDIGIT *wds = NULL;
     size_t yl0 = yl;
     size_t r, n;
     size_t wl = 0;

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

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