ruby-changes:31162
From: glass <ko1@a...>
Date: Thu, 10 Oct 2013 23:05:01 +0900 (JST)
Subject: [ruby-changes:31162] glass:r43241 (trunk): * array.c (rb_ary_or): remove unused variables.
glass 2013-10-10 23:04:55 +0900 (Thu, 10 Oct 2013) New Revision: 43241 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43241 Log: * array.c (rb_ary_or): remove unused variables. Modified files: trunk/ChangeLog trunk/array.c Index: array.c =================================================================== --- array.c (revision 43240) +++ array.c (revision 43241) @@ -3999,9 +3999,7 @@ rb_ary_and(VALUE ary1, VALUE ary2) https://github.com/ruby/ruby/blob/trunk/array.c#L3999 static VALUE rb_ary_or(VALUE ary1, VALUE ary2) { - VALUE hash, ary3, v; - st_data_t vv; - long i; + VALUE hash, ary3; ary2 = to_ary(ary2); hash = ary_add_hash(ary_make_hash(ary1), ary2); Index: ChangeLog =================================================================== --- ChangeLog (revision 43240) +++ ChangeLog (revision 43241) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Oct 10 23:04:00 2013 Masaki Matsushita <glass.saga@g...> + + * array.c (rb_ary_or): remove unused variables. + Thu Oct 10 23:01:16 2013 Masaki Matsushita <glass.saga@g...> * array.c (rb_ary_or): use rb_hash_keys(). -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/