summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-01 04:06:00 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-01 04:06:00 +0000
commit68b23a0de763a50c6caf4933a512137b08310801 (patch)
treea3da2b9e038fea2dc9806a567cc9ec296327a91e /object.c
parenta9e662ac7aebe26c927dfdc1ef2a35eccffc470c (diff)
* object.c (convert_type): Cleanup unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/object.c b/object.c
index 23e5d9ec81..f43eb6d132 100644
--- a/object.c
+++ b/object.c
@@ -2005,7 +2005,6 @@ convert_type(VALUE val, const char *tname, const char *method, int raise)
{
ID m = 0;
int i;
- VALUE args[4];
VALUE r;
for (i=0; conv_method_names[i].method; i++) {
@@ -2016,10 +2015,6 @@ convert_type(VALUE val, const char *tname, const char *method, int raise)
}
}
if (!m) m = rb_intern(method);
- args[0] = val;
- args[1] = (VALUE)m;
- args[2] = (VALUE)raise;
- args[3] = (VALUE)tname;
r = rb_check_funcall(val, m, 0, 0);
if (r == Qundef) {
if (raise) {