summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-28 02:19:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-28 02:19:53 +0000
commitfff6eebe93bef1816bcbc1f731b81822650c11cc (patch)
treea969b71d96f9f33ac4b57c1734d073ed9447eb6b /string.c
parent2614f1741432d4eb0bbab1e3d1b204de746ddf84 (diff)
downloadruby-fff6eebe93bef1816bcbc1f731b81822650c11cc.tar.gz
ruby-fff6eebe93bef1816bcbc1f731b81822650c11cc.tar.xz
ruby-fff6eebe93bef1816bcbc1f731b81822650c11cc.zip
* string.c (rb_str_reverse_bang): removed unsed variables.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/string.c b/string.c
index 12c590344..ea40b995e 100644
--- a/string.c
+++ b/string.c
@@ -3561,7 +3561,6 @@ rb_str_reverse(VALUE str)
static VALUE
rb_str_reverse_bang(VALUE str)
{
- rb_encoding *enc = STR_ENC_GET(str);
char *s, *e, c;
if (RSTRING_LEN(str) > 1) {