string.c: remove unnecessary branch in the internal method.
MODIFY
mrbgems/mruby-string-ext/mrblib/string.rb
mrbgems/mruby-string-ext/mrblib/string.rb
@@ -465,8 +465,6 @@ class String
end
def __upto_endless(&block)
- return to_enum(:__upto_endless) unless block
-
len = self.length
# both edges are all digits
bi = self.to_i(10)

string.c: remove unnecessary branch in the internal method.