summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-20 15:33:59 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-20 15:33:59 (GMT)
commit023537f883da194ed49080dc99dc6be6925e1be8 (patch)
tree89610b4c7109bdc92c8199cfdd11b7a2ad2e2c7b /range.c
parentd6bfef79a276b564d76a292284b6536ad928e683 (diff)
Remove extra semicolon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 56c1ee2..0629d2e 100644
--- a/range.c
+++ b/range.c
@@ -251,7 +251,7 @@ range_each_func(VALUE range, int (*func)(VALUE, VALUE), VALUE arg)
}
else {
while ((c = r_less(v, e)) <= 0) {
- if ((*func)(v, arg)) break;;
+ if ((*func)(v, arg)) break;
if (!c) break;
v = rb_funcallv(v, id_succ, 0, 0);
}