* numeric.c (do_coerce): remove an unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
72f9805109
commit
42eadff3a1
@ -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>
|
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
|
* tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
|
||||||
|
@ -215,9 +215,6 @@ static int
|
|||||||
do_coerce(VALUE *x, VALUE *y, int err)
|
do_coerce(VALUE *x, VALUE *y, int err)
|
||||||
{
|
{
|
||||||
VALUE ary;
|
VALUE ary;
|
||||||
VALUE a[2];
|
|
||||||
|
|
||||||
a[0] = *x; a[1] = *y;
|
|
||||||
|
|
||||||
ary = rb_check_funcall(*y, id_coerce, 1, x);
|
ary = rb_check_funcall(*y, id_coerce, 1, x);
|
||||||
if (ary == Qundef) {
|
if (ary == Qundef) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user