summaryrefslogtreecommitdiff
path: root/ext/iconv
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-06 03:21:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-06 03:21:43 +0000
commit8471463a4afba2a4e19ffdb87b72002862bed333 (patch)
tree7d30b9fc6edec21613ccb3e8d5c5c1aaa3002cb7 /ext/iconv
parentf1296598a2097e1e355307e16752b549f0f6b24c (diff)
* 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/iconv')
-rw-r--r--ext/iconv/iconv.c1
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));