ruby-changes:25844
From: knu <ko1@a...>
Date: Tue, 27 Nov 2012 22:34:51 +0900 (JST)
Subject: [ruby-changes:25844] knu:r37901 (trunk): * string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
knu 2012-11-27 22:34:40 +0900 (Tue, 27 Nov 2012) New Revision: 37901 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37901 Log: * string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints) (rb_str_enumerate_lines): Dummy initialization of ary has been replaced with UNINITIALIZED_VAR(). Modified files: trunk/ChangeLog trunk/string.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37900) +++ ChangeLog (revision 37901) @@ -1,3 +1,9 @@ +Tue Nov 27 22:03:09 2012 Akinori MUSHA <knu@i...> + + * 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@m...> * bignum.c (bigdivrem): optimize the way to retry calculation of Index: string.c =================================================================== --- string.c (revision 37900) +++ string.c (revision 37901) @@ -6126,7 +6126,6 @@ #else rb_warning("passing a block to String#lines is deprecated"); wantarray = 0; - ary = 0; #endif } } @@ -6406,7 +6405,6 @@ #else rb_warning("passing a block to String#chars is deprecated"); wantarray = 0; - ary = 0; #endif } } @@ -6507,7 +6505,6 @@ #else rb_warning("passing a block to String#codepoints is deprecated"); wantarray = 0; - ary = 0; #endif } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/