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 | 40d0e10b3ce237125382d8509d5d1d8f402234c0 (patch) | |
| tree | 9f1b8a5e1634b4f90ce68a88607df1ab2357e9b8 | |
| parent | 93fd00b5ff877fbc2ceea7d8ca0c9fac8875c124 (diff) | |
| download | ruby-40d0e10b3ce237125382d8509d5d1d8f402234c0.tar.gz ruby-40d0e10b3ce237125382d8509d5d1d8f402234c0.tar.xz ruby-40d0e10b3ce237125382d8509d5d1d8f402234c0.zip | |
* complex.c (nucomp_s_convert): need not to initialize optional
argument for rb_scan_args().
git-svn-id: http://svn.ruby-lang.org/repos/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 <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)) { |
