Skip to content

Commit c4e0e25

Browse files
committed
fix: remove duplicate nbytes declaration
1 parent 8616f9f commit c4e0e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ static int copy_string_without_char(char output[PROCESSED_WORD_CAPACITY],
19061906

19071907
// copy final chunk that doesn't contain char_to_remove
19081908
if (end_ptr > left) {
1909-
size_t nbytes = nbytes = end_ptr - left;
1909+
size_t nbytes = end_ptr - left;
19101910
if (nbytes + bytes_read >= PROCESSED_WORD_CAPACITY) {
19111911
return -1;
19121912
}

0 commit comments

Comments
 (0)