aboutsummaryrefslogtreecommitdiffstats
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 703a88e281..8d4910291f 100644
--- a/string.c
+++ b/string.c
@@ -4368,7 +4368,6 @@ tr_trans(VALUE str, VALUE src, VALUE repl, int sflag)
int clen, tlen, max = RSTRING_LEN(str) * 1.2;
int offset;
char *buf = ALLOC_N(char, max), *t = buf;
- VALUE v;
while (s < send) {
c0 = c = rb_enc_codepoint(s, send, enc);