summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
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 12c5903447..ea40b995e1 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) {