Skip to content

Commit

Permalink
* enum.c (count_i): modified to shut warning up.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Apr 11, 2008
1 parent f9c5484 commit 3734fd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Apr 11 17:35:06 2008 Yukihiro Matsumoto <[email protected]>

* enum.c (count_i): modified to shut warning up.

Fri Apr 11 17:25:09 2008 Akinori MUSHA <[email protected]>

* enum.c (count_i, count_iter_i, enum_count, enum_find_index):
Expand Down
2 changes: 1 addition & 1 deletion enum.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ enum_grep(VALUE obj, VALUE pat)
}

static VALUE
count_i(VALUE i, VALUE memop)
count_i(VALUE i, VALUE memop, int argc, VALUE *argv)
{
VALUE *memo = (VALUE*)memop;

Expand Down

0 comments on commit 3734fd0

Please sign in to comment.