summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-12 10:22:56 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-12 10:22:56 +0900
commitdebf296843ff21324d710163a0e49a074c85d4b3 (patch)
tree88b32af96a65eb68c0e42bd0291bb9c46daa6516
parent6987ba02f8ea14531d55a8a44f8d68667076ebe8 (diff)
downloadmruby-debf296843ff21324d710163a0e49a074c85d4b3.tar.gz
mruby-debf296843ff21324d710163a0e49a074c85d4b3.zip
remove obsolete comment
-rw-r--r--src/string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 340402e26..172b8422c 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2213,7 +2213,6 @@ mrb_str_split_m(mrb_state *mrb, mrb_value str)
while (ptr < eptr &&
(end = mrb_memsearch(sptr, slen, ptr, eptr - ptr)) >= 0) {
- /* Check we are at the start of a char */
mrb_ary_push(mrb, result, mrb_str_subseq(mrb, str, ptr - temp, end));
ptr += end + slen;
if (lim >= 0 && lim <= ++i) break;