From 14b9c1f9f6437ee12427e144097ff4511945e2e3 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 1 Nov 2009 04:06:00 +0000 Subject: * object.c (convert_type): Cleanup unused variable git-svn-id: http://svn.ruby-lang.org/repos/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 23e5d9ec8..f43eb6d13 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) { -- cgit