summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-01 13:32:06 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-01 13:32:06 +0000
commit79be10475f0c8cc208ee8c5e220aba6cc5431687 (patch)
treee4034003cb0cc8f03ab3e057334548b05220d247
parentd620b0b9cdbca58e45033d0eaf4c14192f75f016 (diff)
* string.c (str_rindex): remove comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/string.c b/string.c
index 8c016fc..391778a 100644
--- a/string.c
+++ b/string.c
@@ -2685,7 +2685,6 @@ str_rindex(VALUE str, VALUE sub, const char *s, long pos, rb_encoding *enc)
searchlen = s - sbeg + 1;
do {
- /* printf("\"%s\" \"%s\" %ld %ld %d\n", hit, t, slen, searchlen, memcmp(hit, t, slen)); */
hit = memrchr(sbeg, c, searchlen);
if (!hit) break;
adjusted = rb_enc_left_char_head(sbeg, hit, e, enc);