diff options
-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; |