* 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
@ -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>
|
Fri Dec 21 20:13:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
|
* 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;
|
bms.stop = Qfalse;
|
||||||
|
|
||||||
if (RBIGNUM_LEN(x) + RBIGNUM_LEN(y) > 10000) {
|
if (RBIGNUM_LEN(x) + RBIGNUM_LEN(y) > 10000) {
|
||||||
VALUE stop = Qfalse;
|
|
||||||
z = rb_thread_blocking_region(bigmul1, &bms, rb_big_stop, &bms.stop);
|
z = rb_thread_blocking_region(bigmul1, &bms, rb_big_stop, &bms.stop);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1682,7 +1681,6 @@ bigdivrem(VALUE x, VALUE y, VALUE *divp, VALUE *modp)
|
|||||||
bds.modp = modp;
|
bds.modp = modp;
|
||||||
bds.stop = Qfalse;
|
bds.stop = Qfalse;
|
||||||
if (RBIGNUM_LEN(x) > 10000 || RBIGNUM_LEN(y) > 10000) {
|
if (RBIGNUM_LEN(x) > 10000 || RBIGNUM_LEN(y) > 10000) {
|
||||||
VALUE stop = Qfalse;
|
|
||||||
z = rb_thread_blocking_region(bigdivrem1, &bds, rb_big_stop, &bds.stop);
|
z = rb_thread_blocking_region(bigdivrem1, &bds, rb_big_stop, &bds.stop);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user