mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* complex.c (nucomp_s_convert): need not to initialize optional
argument for rb_scan_args(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f955217028
commit
e585bc3c2f
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 10 20:55:57 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* complex.c (nucomp_s_convert): need not to initialize optional
|
||||
argument for rb_scan_args().
|
||||
|
||||
Tue Jun 10 20:13:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb: negate default of --without-ext if --with-ext is
|
||||
|
|
|
@ -1289,8 +1289,6 @@ nucomp_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…
Reference in a new issue