summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--bignum.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 97eb30263a..71cca0e727 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/bignum.c b/bignum.c
index 62c7516dfb..5eb093a8c4 100644
--- a/bignum.c
+++ b/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 {