diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-10 11:56:23 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-10 11:56:23 +0000 |
commit | e585bc3c2f58588b00a3d75563b6522785e0c9ec (patch) | |
tree | 9f1b8a5e1634b4f90ce68a88607df1ab2357e9b8 | |
parent | f95521702822e8bdbe10a03f2e796dab0370aeba (diff) |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | complex.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Jun 10 20:55:57 2008 Tadayoshi Funaba <[email protected]> + + * complex.c (nucomp_s_convert): need not to initialize optional + argument for rb_scan_args(). + Tue Jun 10 20:13:56 2008 Nobuyoshi Nakada <[email protected]> * 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)) { |