From 68b23a0de763a50c6caf4933a512137b08310801 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 1 Nov 2009 04:06:00 +0000 Subject: [PATCH] * object.c (convert_type): Cleanup unused variable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 5 ----- 1 file changed, 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) {