[前][次][番号順一覧][スレッド一覧]

ruby-changes:13811

From: marcandre <ko1@a...>
Date: Sun, 1 Nov 2009 13:06:09 +0900 (JST)
Subject: [ruby-changes:13811] Ruby:r25609 (trunk): * object.c (convert_type): Cleanup unused variable

marcandre	2009-11-01 13:06:00 +0900 (Sun, 01 Nov 2009)

  New Revision: 25609

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25609

  Log:
    * object.c (convert_type): Cleanup unused variable

  Modified files:
    trunk/object.c

Index: object.c
===================================================================
--- object.c	(revision 25608)
+++ object.c	(revision 25609)
@@ -2005,7 +2005,6 @@
 {
     ID m = 0;
     int i;
-    VALUE args[4];
     VALUE r;
 
     for (i=0; conv_method_names[i].method; i++) {
@@ -2016,10 +2015,6 @@
 	}
     }
     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) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]