mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/coverage/coverage.c (method_coverage): id
was used uninitialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e43f304478
commit
db9f36f3fa
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ static VALUE
|
|||
method_coverage(VALUE methods)
|
||||
{
|
||||
VALUE ret = rb_hash_new();
|
||||
int i, id;
|
||||
int i, id = 0;
|
||||
|
||||
for (i = 0; i < RARRAY_LEN(methods); ) {
|
||||
VALUE method_name = RARRAY_AREF(methods, i++);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue