Skip to content

Commit

Permalink
* array.c (rb_ary_or): remove unused variables.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
glass committed Oct 10, 2013
1 parent 2423e3f commit d4f37a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Thu Oct 10 23:04:00 2013 Masaki Matsushita <glass.saga@gmail.com>

* array.c (rb_ary_or): remove unused variables.

Thu Oct 10 23:01:16 2013 Masaki Matsushita <glass.saga@gmail.com>

* array.c (rb_ary_or): use rb_hash_keys().
Expand Down
4 changes: 1 addition & 3 deletions array.c
Original file line number Diff line number Diff line change
Expand Up @@ -3999,9 +3999,7 @@ rb_ary_and(VALUE ary1, VALUE ary2)
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);
Expand Down

0 comments on commit d4f37a5

Please sign in to comment.