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

ruby-changes:28875

From: naruse <ko1@a...>
Date: Sat, 25 May 2013 20:37:47 +0900 (JST)
Subject: [ruby-changes:28875] naruse:r40927 (trunk): Remove unused variable

naruse	2013-05-25 20:37:35 +0900 (Sat, 25 May 2013)

  New Revision: 40927

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

  Log:
    Remove unused variable

  Modified files:
    trunk/ext/strscan/strscan.c

Index: ext/strscan/strscan.c
===================================================================
--- ext/strscan/strscan.c	(revision 40926)
+++ ext/strscan/strscan.c	(revision 40927)
@@ -1023,7 +1023,7 @@ name_to_backref_number(struct re_registe https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.c#L1023
 static VALUE
 strscan_aref(VALUE self, VALUE idx)
 {
-    const char *name, *name_end;
+    const char *name;
     struct strscanner *p;
     long i;
 

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

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