ruby-changes:26708
From: shugo <ko1@a...>
Date: Thu, 10 Jan 2013 15:58:52 +0900 (JST)
Subject: [ruby-changes:26708] shugo:r38759 (trunk): * numeric.c (do_coerce): remove an unused variable.
shugo 2013-01-10 15:57:17 +0900 (Thu, 10 Jan 2013) New Revision: 38759 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38759 Log: * numeric.c (do_coerce): remove an unused variable. Modified files: trunk/ChangeLog trunk/numeric.c Index: ChangeLog =================================================================== --- ChangeLog (revision 38758) +++ ChangeLog (revision 38759) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jan 10 15:55:28 2013 Shugo Maeda <shugo@r...> + + * numeric.c (do_coerce): remove an unused variable. + Thu Jan 10 15:35:55 2013 Shugo Maeda <shugo@r...> * tool/gen_dummy_probes.rb: remove comments in probes.d to fix the Index: numeric.c =================================================================== --- numeric.c (revision 38758) +++ numeric.c (revision 38759) @@ -215,9 +215,6 @@ static int https://github.com/ruby/ruby/blob/trunk/numeric.c#L215 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) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/