diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-06 03:21:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-06 03:21:43 +0000 |
commit | 8471463a4afba2a4e19ffdb87b72002862bed333 (patch) | |
tree | 7d30b9fc6edec21613ccb3e8d5c5c1aaa3002cb7 /ext | |
parent | f1296598a2097e1e355307e16752b549f0f6b24c (diff) | |
download | ruby-8471463a4afba2a4e19ffdb87b72002862bed333.tar.gz |
* ext/iconv/iconv.c (iconv_iconv): no needs to initialize with Qnil
before rb_scan_args call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/iconv/iconv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index 1f0ab84f06..6141a5bb4d 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -828,7 +828,6 @@ iconv_iconv(int argc, VALUE *argv, VALUE self) VALUE cd = check_iconv(self); long start = 0, length = 0, slen = 0; - n1 = n2 = Qnil; rb_scan_args(argc, argv, "12", &str, &n1, &n2); if (!NIL_P(str)) { VALUE n = rb_str_length(StringValue(str)); |