From 79be10475f0c8cc208ee8c5e220aba6cc5431687 Mon Sep 17 00:00:00 2001 From: glass Date: Thu, 1 Aug 2013 13:32:06 +0000 Subject: [PATCH] * string.c (str_rindex): remove comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 1 - 1 file changed, 1 deletion(-) diff --git a/string.c b/string.c index 8c016fc8e0..391778a102 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);