From e585bc3c2f58588b00a3d75563b6522785e0c9ec Mon Sep 17 00:00:00 2001 From: tadf Date: Tue, 10 Jun 2008 11:56:23 +0000 Subject: * 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 --- complex.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'complex.c') 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)) { -- cgit v1.2.3