ruby-changes:5575
From: tadf <ko1@a...>
Date: Tue, 10 Jun 2008 21:02:13 +0900 (JST)
Subject: [ruby-changes:5575] Ruby:r17079 (trunk): * complex.c (nucomp_s_convert): need not to initialize optional
tadf 2008-06-10 20:56:23 +0900 (Tue, 10 Jun 2008) New Revision: 17079 Modified files: trunk/ChangeLog trunk/complex.c Log: * complex.c (nucomp_s_convert): need not to initialize optional argument for rb_scan_args(). http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/complex.c?r1=17079&r2=17078&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17079&r2=17078&diff_format=u Index: complex.c =================================================================== --- complex.c (revision 17078) +++ complex.c (revision 17079) @@ -1289,8 +1289,6 @@ { VALUE a1, a2; - a1 = Qnil; - a2 = Qnil; rb_scan_args(argc, argv, "02", &a1, &a2); switch (TYPE(a1)) { Index: ChangeLog =================================================================== --- ChangeLog (revision 17078) +++ ChangeLog (revision 17079) @@ -1,3 +1,8 @@ +Tue Jun 10 20:55:57 2008 Tadayoshi Funaba <tadf@d...> + + * 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@r...> * ext/extmk.rb: negate default of --without-ext if --with-ext is -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/