summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 6c1988e92..6ea139c90 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2150,7 +2150,6 @@ mrb_cstr_to_inum(mrb_state *mrb, const char *str, int base, int badcheck)
uscore = 0;
c = conv_digit(*p);
if (c < 0 || c >= base) {
- if (badcheck) goto bad;
break;
}
n *= base;