mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8c4992f1f5
commit
06d6edcacc
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Nov 27 22:03:09 2012 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
|
||||
(rb_str_enumerate_lines): Dummy initialization of ary has been
|
||||
replaced with UNINITIALIZED_VAR().
|
||||
|
||||
Tue Nov 27 21:29:00 2012 Kenta Murata <mrkn@mrkn.jp>
|
||||
|
||||
* bignum.c (bigdivrem): optimize the way to retry calculation of
|
||||
|
|
3
string.c
3
string.c
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue