summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--numeric.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 65f9ee37f9..6013746824 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 10 15:55:28 2013 Shugo Maeda <shugo@ruby-lang.org>
+
+ * numeric.c (do_coerce): remove an unused variable.
+
Thu Jan 10 15:35:55 2013 Shugo Maeda <shugo@ruby-lang.org>
* tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
diff --git a/numeric.c b/numeric.c
index ea926a62ee..046527eab3 100644
--- a/numeric.c
+++ b/numeric.c
@@ -215,9 +215,6 @@ static int
do_coerce(VALUE *x, VALUE *y, int err)
{
VALUE ary;
- VALUE a[2];
-
- a[0] = *x; a[1] = *y;
ary = rb_check_funcall(*y, id_coerce, 1, x);
if (ary == Qundef) {