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

ruby-changes:3386

From: ko1@a...
Date: 4 Jan 2008 12:14:02 +0900
Subject: [ruby-changes:3386] akr - Ruby:r14879 (trunk): unused variable removed.

akr	2008-01-04 12:13:53 +0900 (Fri, 04 Jan 2008)

  New Revision: 14879

  Modified files:
    trunk/re.c

  Log:
    unused variable removed.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=14879&r2=14878&diff_format=u

Index: re.c
===================================================================
--- re.c	(revision 14878)
+++ re.c	(revision 14879)
@@ -1036,7 +1036,6 @@
     VALUE match;
     static struct re_registers regs;
     char *range = RSTRING_PTR(str);
-    rb_encoding *enc = rb_enc_get(str);
 
     if (pos > RSTRING_LEN(str) || pos < 0) {
 	rb_backref_set(Qnil);

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

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