@@ -1787,7 +1787,7 @@ cdef int _try_uint64_nogil(parser_t *parser, int64_t col,
17871787 const kh_str_starts_t * na_hashset,
17881788 uint64_t * data, uint_state * state) nogil:
17891789 cdef:
1790- int error = 0
1790+ int error
17911791 Py_ssize_t i, lines = line_end - line_start
17921792 coliter_t it
17931793 const char * word = NULL
@@ -1820,8 +1820,7 @@ cdef _try_int64(parser_t *parser, int64_t col,
18201820 int64_t line_start, int64_t line_end,
18211821 bint na_filter, kh_str_starts_t * na_hashset, bint raise_on_invalid):
18221822 cdef:
1823- int error = 0
1824- int na_count = 0
1823+ int error, na_count = 0
18251824 Py_ssize_t lines
18261825 coliter_t it
18271826 int64_t * data
@@ -1853,7 +1852,7 @@ cdef int _try_int64_nogil(parser_t *parser, int64_t col,
18531852 const kh_str_starts_t * na_hashset, int64_t NA,
18541853 int64_t * data, int * na_count) nogil:
18551854 cdef:
1856- int error = 0
1855+ int error
18571856 Py_ssize_t i, lines = line_end - line_start
18581857 coliter_t it
18591858 const char * word = NULL
@@ -1880,7 +1879,7 @@ cdef int _try_int64_nogil(parser_t *parser, int64_t col,
18801879 if error != 0 :
18811880 return error
18821881
1883- return error
1882+ return 0
18841883
18851884cdef _try_pylong(parser_t * parser, Py_ssize_t col,
18861885 int64_t line_start, int64_t line_end,
0 commit comments