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

ruby-changes:31116

From: nobu <ko1@a...>
Date: Tue, 8 Oct 2013 14:20:03 +0900 (JST)
Subject: [ruby-changes:31116] nobu:r43195 (trunk): array.c: remove unused variables

nobu	2013-10-08 14:19:57 +0900 (Tue, 08 Oct 2013)

  New Revision: 43195

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

  Log:
    array.c: remove unused variables
    
    * array.c (rb_ary_uniq): remove no longer used local variables since
      r43194.

  Modified files:
    trunk/array.c
Index: array.c
===================================================================
--- array.c	(revision 43194)
+++ array.c	(revision 43195)
@@ -4118,8 +4118,7 @@ rb_ary_uniq_bang(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L4118
 static VALUE
 rb_ary_uniq(VALUE ary)
 {
-    VALUE hash, uniq, v;
-    long i;
+    VALUE hash, uniq;
 
     if (RARRAY_LEN(ary) <= 1)
         return rb_ary_dup(ary);

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

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