summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/object.c b/object.c
index dca59471ce..c1c60714e2 100644
--- a/object.c
+++ b/object.c
@@ -2045,7 +2045,6 @@ rb_cstr_to_dbl(const char *p, int badcheck)
if (!p) return 0.0;
q = p;
while (ISSPACE(*p)) p++;
- errno = 0;
d = strtod(p, &end);
if (errno == ERANGE) {
OutOfRange();