mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* rational.c (nurat_s_convert): need not to initialize optional
argument for rb_scan_args(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad494f67dd
commit
4fd154d05e
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 10 13:48:38 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* rational.c (nurat_s_convert): need not to initialize optional
|
||||
argument for rb_scan_args().
|
||||
|
||||
Tue Jun 10 12:58:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
|
||||
|
|
|
@ -1422,8 +1422,6 @@ nurat_s_convert(int argc, VALUE *argv, VALUE klass)
|
|||
{
|
||||
VALUE a1, a2;
|
||||
|
||||
a1 = Qnil;
|
||||
a2 = Qnil;
|
||||
rb_scan_args(argc, argv, "02", &a1, &a2);
|
||||
|
||||
switch (TYPE(a1)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue