summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-18 16:55:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-18 16:55:15 +0000
commit7f418222b15a4c5d6a403a1edbeeab0ee97cbdbb (patch)
tree5e46035e44486a744ed0958d91d67c274869b293 /bignum.c
parent98fb593998f6329d1d5a7d108242693bb7e6abfb (diff)
* bignum.c (bigsub_int): remove nonsense loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bignum.c b/bignum.c
index 7489ba5231..b1d3e5a685 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1516,8 +1516,6 @@ bigsub_int(VALUE x, long y0)
#if SIZEOF_BDIGITS == SIZEOF_LONG
num = (BDIGIT_DBL_SIGNED)xds[0] - y;
if (xn == 1 && num < 0) {
- for (i=0; i<xn; i++) {
- }
RBIGNUM_SET_SIGN(z, !RBIGNUM_SIGN(x));
zds[0] = (BDIGIT)-num;
return bignorm(z);