mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (rb_str_start_with): Remove an unused variable.
(rb_str_upto_m): Fix a prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
187a7b0b05
commit
08b38ab3d6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed May 28 17:54:29 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* 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@iDaemons.org>
|
||||
|
||||
* range.c (range_step): Fix brokenness when a non-integer numeric
|
||||
|
|
4
string.c
4
string.c
|
@ -1514,7 +1514,8 @@ rb_str_upto(beg, end, excl)
|
|||
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 @@ rb_str_start_with(argc, argv, str)
|
|||
VALUE str;
|
||||
{
|
||||
int i;
|
||||
long pos;
|
||||
VALUE pat;
|
||||
|
||||
for (i=0; i<argc; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue