summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-09 05:56:39 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-09 05:56:39 +0000
commit10317605f0f1db4f7d2d8c4272c149d41cedd09c (patch)
treee00e6fc4c753bf0ca7c9f215254e03cb85590d79 /re.c
parent9ec530270a461127690c318a92f0cc2ce8929111 (diff)
* re.c (rb_reg_to_s): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/re.c b/re.c
index 6ec3646658..6230173c04 100644
--- a/re.c
+++ b/re.c
@@ -519,7 +519,6 @@ rb_reg_to_s(VALUE re)
goto again;
}
if (*ptr == ':' && ptr[len-1] == ')') {
- int r;
Regexp *rp;
++ptr;