summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bignum.c b/bignum.c
index 1fd8666861..872610d1b9 100644
--- a/bignum.c
+++ b/bignum.c
@@ -4057,9 +4057,6 @@ rb_cstr_parse_inum(const char *str, ssize_t len, char **endp, int base)
sign = 0;
}
ASSERT_LEN();
- if (str[0] == '+' || str[0] == '-') {
- goto bad;
- }
}
if (base <= 0) {
if (str[0] == '0' && len > 1) {