diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 13:34:40 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 13:34:40 +0000 |
commit | 06d6edcaccbe3d8082fd2ec5681b4113cf7f4441 (patch) | |
tree | b9f58e8fb0b98f20178130ab7fb98347e28cea42 /string.c | |
parent | 8c4992f1f58bf868d9c0e674227af3496900ba4f (diff) | |
download | ruby-06d6edcaccbe3d8082fd2ec5681b4113cf7f4441.tar.gz |
* string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
(rb_str_enumerate_lines): Dummy initialization of ary has been
replaced with UNINITIALIZED_VAR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -6126,7 +6126,6 @@ rb_str_enumerate_lines(int argc, VALUE *argv, VALUE str, int wantarray) #else rb_warning("passing a block to String#lines is deprecated"); wantarray = 0; - ary = 0; #endif } } @@ -6406,7 +6405,6 @@ rb_str_enumerate_chars(VALUE str, int wantarray) #else rb_warning("passing a block to String#chars is deprecated"); wantarray = 0; - ary = 0; #endif } } @@ -6507,7 +6505,6 @@ rb_str_enumerate_codepoints(VALUE str, int wantarray) #else rb_warning("passing a block to String#codepoints is deprecated"); wantarray = 0; - ary = 0; #endif } } |