From 7f418222b15a4c5d6a403a1edbeeab0ee97cbdbb Mon Sep 17 00:00:00 2001 From: mame Date: Mon, 18 Jan 2010 16:55:15 +0000 Subject: [PATCH] * bignum.c (bigsub_int): remove nonsense loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ bignum.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8089e8b264..ce47deb303 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 19 01:53:11 2010 Yusuke Endoh + + * bignum.c (bigsub_int): remove nonsense loop. + Tue Jan 19 01:42:36 2010 Yusuke Endoh * parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in 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