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 | |
parent | 63bc91107059b9be77162a770ddaa68eb2dbdc54 (diff) | |
download | ruby-8520eae4804837a02c743e73a37d7df929d0c170.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Apr 27 01:38:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * array.c (rb_ary_fill): internalize local variable "beg" to + pacify Coverity. [ruby-core:07770] + Wed Apr 26 16:59:24 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * pack.c (pack_unpack): now supports CRLF newlines. a patch from @@ -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; |