summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-25 15:08:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-25 15:08:44 +0000
commit9372cdb80a376f352fc55ea895f1ad688cf4a0df (patch)
treed33665f6d30c618f4d637b090ac73140022a61e2 /bignum.c
parent8ebadc63f442e70bffa8fba2d8b23ba14bc1e71e (diff)
* bignum.c (bigmul1_karatsuba): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bignum.c b/bignum.c
index 77dec0f6cf..7b6e257e62 100644
--- a/bignum.c
+++ b/bignum.c
@@ -2125,6 +2125,7 @@ bigmul1_karatsuba(VALUE x, VALUE y)
}
else {
t2 = Qundef;
+ t2n = 0;
/* copy 0 into low bytes of the result (z0) */
for (i = 0; i < 2 * n; i++) zds[i] = 0;