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
@ -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…
x
Reference in New Issue
Block a user