mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bignum.c (rb_big_mul0): remove unused variable.
* bignum.c (bigdivrem): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7c2ae80d70
commit
256ddf48c2
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Dec 21 20:18:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* bignum.c (rb_big_mul0): remove unused variable.
|
||||
|
||||
* bignum.c (bigdivrem): ditto.
|
||||
|
||||
Fri Dec 21 20:13:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
|
||||
|
|
2
bignum.c
2
bignum.c
|
@ -1511,7 +1511,6 @@ rb_big_mul0(VALUE x, VALUE y)
|
|||
bms.stop = Qfalse;
|
||||
|
||||
if (RBIGNUM_LEN(x) + RBIGNUM_LEN(y) > 10000) {
|
||||
VALUE stop = Qfalse;
|
||||
z = rb_thread_blocking_region(bigmul1, &bms, rb_big_stop, &bms.stop);
|
||||
}
|
||||
else {
|
||||
|
@ -1682,7 +1681,6 @@ bigdivrem(VALUE x, VALUE y, VALUE *divp, VALUE *modp)
|
|||
bds.modp = modp;
|
||||
bds.stop = Qfalse;
|
||||
if (RBIGNUM_LEN(x) > 10000 || RBIGNUM_LEN(y) > 10000) {
|
||||
VALUE stop = Qfalse;
|
||||
z = rb_thread_blocking_region(bigdivrem1, &bds, rb_big_stop, &bds.stop);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue