diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-26 16:52:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-26 16:52:54 +0000 |
commit | 8520eae4804837a02c743e73a37d7df929d0c170 (patch) | |
tree | 601802a45f1476ab9f6e28f60c20315d0bb6935c /array.c | |
parent | 63bc91107059b9be77162a770ddaa68eb2dbdc54 (diff) |
* array.c (rb_ary_fill): internalize local variable "beg" to
pacify Coverity. [ruby-core:07770]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2223,7 +2223,7 @@ rb_ary_fill(argc, argv, ary) VALUE ary; { VALUE item, arg1, arg2; - long beg, end, len; + long beg = 0, end, len; VALUE *p, *pend; int block_p = Qfalse; |