Skip to content

Commit e3a88d3

Browse files
committed
chore: remove NULL assignment
1 parent ff4d48b commit e3a88d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ int64_t str_to_int64(const char *p_item, int64_t int_min, int64_t int_max,
19331933
p_item = buffer;
19341934
}
19351935

1936-
char *endptr = NULL;
1936+
char *endptr;
19371937
// strtoll sets errno if it finds an overflow.
19381938
// It's value is reset to don't pollute the verification below.
19391939
errno = 0;
@@ -1988,7 +1988,7 @@ uint64_t str_to_uint64(uint_state *state, const char *p_item, int64_t int_max,
19881988
p_item = buffer;
19891989
}
19901990

1991-
char *endptr = NULL;
1991+
char *endptr;
19921992
// strtoull sets errno if it finds an overflow.
19931993
// It's value is reset to don't pollute the verification below.
19941994
errno = 0;

0 commit comments

Comments
 (0)