ruby-changes:5177
From: knu <ko1@a...>
Date: Wed, 28 May 2008 17:55:07 +0900 (JST)
Subject: [ruby-changes:5177] Ruby:r16672 (ruby_1_8): * string.c (rb_str_start_with): Remove an unused variable.
knu 2008-05-28 17:54:55 +0900 (Wed, 28 May 2008) New Revision: 16672 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/string.c Log: * string.c (rb_str_start_with): Remove an unused variable. (rb_str_upto_m): Fix a prototype. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16672&r2=16671&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/string.c?r1=16672&r2=16671&diff_format=u Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 16671) +++ ruby_1_8/ChangeLog (revision 16672) @@ -1,3 +1,8 @@ +Wed May 28 17:54:29 2008 Akinori MUSHA <knu@i...> + + * string.c (rb_str_start_with): Remove an unused variable. + (rb_str_upto_m): Fix a prototype. + Wed May 28 17:48:28 2008 Akinori MUSHA <knu@i...> * range.c (range_step): Fix brokenness when a non-integer numeric Index: ruby_1_8/string.c =================================================================== --- ruby_1_8/string.c (revision 16671) +++ ruby_1_8/string.c (revision 16672) @@ -1514,7 +1514,8 @@ static VALUE rb_str_upto_m(argc, argv, beg) int argc; - VALUE argv, beg; + VALUE *argv; + VALUE beg; { VALUE end, exclusive; @@ -4836,7 +4837,6 @@ VALUE str; { int i; - long pos; VALUE pat; for (i=0; i<argc; i++) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/