summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 13:19:59 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 13:19:59 +0000
commit0c620c2ec3622d2a8dfb71e85e7537fe09ba46ac (patch)
treea03fcda52a44f9ae830860a05a0271fb094f6689 /bignum.c
parent52ecaae8a2c6c288878b101ae90c96ec34c46ace (diff)
* bignum.c (bary_mul1): No need to invoke MEMZERO at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index b742bb4ac5..b64e477b29 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1800,7 +1800,6 @@ bary_mul1(BDIGIT *zds, size_t zl, BDIGIT *xds, size_t xl, BDIGIT *yds, size_t yl
bary_mul_normal(zds, zl, xds, xl, yds, yl);
rb_thread_check_ints();
}
- MEMZERO(zds + l, BDIGIT, zl - l);
}
/* determine whether a bignum is sparse or not by random sampling */