summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--bignum.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 98a3a7e1cf..544df309c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/bignum.c b/bignum.c
index aeefa21e3a..eed2181955 100644
--- a/bignum.c
+++ b/bignum.c
@@ -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;