summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 11:56:23 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 11:56:23 +0000
commite585bc3c2f58588b00a3d75563b6522785e0c9ec (patch)
tree9f1b8a5e1634b4f90ce68a88607df1ab2357e9b8 /complex.c
parentf95521702822e8bdbe10a03f2e796dab0370aeba (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
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index 7f99ade0a7..d679568df8 100644
--- a/complex.c
+++ b/complex.c
@@ -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)) {