summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-07 21:27:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-07 21:27:34 +0000
commit86afcfe4021d3ee7a9d290f2b351ae9e7aa52021 (patch)
treee98a865d51e98d53fc82e1cb69bf2c5782f23708 /string.c
parent60219a0aa3c80ff6843c350ae1078ad54985bab0 (diff)
* thread.c (rb_thread_key_p): thread local storage stores ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16318 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 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);