mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
coverage.c: suppress a warning
* ext/coverage/coverage.c (coverage_clear_result_i): use local variable coverage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d96949a4ca
commit
68c2c522fd
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ static int
|
|||
coverage_clear_result_i(st_data_t key, st_data_t val, st_data_t h)
|
||||
{
|
||||
VALUE coverage = (VALUE)val;
|
||||
rb_ary_clear((VALUE)val);
|
||||
rb_ary_clear(coverage);
|
||||
return ST_CONTINUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue