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

a warning.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-07-08 13:00:11 +00:00
parent ffe55cdc1e
commit 85855a2242
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jul 8 21:59:34 2013 Tanaka Akira <akr@fsij.org>
* bignum.c (bary_mul_balance): Initialize a local variable to suppress
a warning.
Mon Jul 8 20:55:22 2013 Tanaka Akira <akr@fsij.org>
* bignum.c (bary_mul_balance): Reduce work memory.

View File

@ -1542,7 +1542,7 @@ static void
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;