зеркало из https://github.com/github/ruby.git
* string.c (rb_to_id): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
14491f13d7
Коммит
8ff8d61961
|
@ -1,3 +1,7 @@
|
|||
Mon Apr 25 01:03:03 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* string.c (rb_to_id): remove unused variable.
|
||||
|
||||
Sun Apr 24 22:19:05 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* complex.c, rational.c: omitted some method calls.
|
||||
|
|
3
string.c
3
string.c
|
@ -7678,7 +7678,6 @@ ID
|
|||
rb_to_id(VALUE name)
|
||||
{
|
||||
VALUE tmp;
|
||||
ID id;
|
||||
|
||||
switch (TYPE(name)) {
|
||||
default:
|
||||
|
@ -7696,7 +7695,7 @@ rb_to_id(VALUE name)
|
|||
case T_SYMBOL:
|
||||
return SYM2ID(name);
|
||||
}
|
||||
return id;
|
||||
return Qnil; /* not reached */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче