Skip to content

Commit b364bdf

Browse files
committed
remove errno before strtol
1 parent cabce54 commit b364bdf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,6 @@ double precise_xstrtod(const char *str, char **endptr, char decimal, char sci,
16751675
p++;
16761676

16771677
char *tmp_ptr;
1678-
errno = 0;
16791678
long int n = strtol(p, &tmp_ptr, 10);
16801679

16811680
if (errno == ERANGE || checked_add(exponent, n, &exponent)) {

0 commit comments

Comments
 (0)