Skip to content

Commit 2ab4971

Browse files
committed
Remove debugging code
1 parent 2930eaa commit 2ab4971

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/_libs/src/parser/tokenizer.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -1258,12 +1258,7 @@ int parser_trim_buffers(parser_t *self) {
12581258
}
12591259

12601260
/* trim stream */
1261-
if (new_cap < INT32_MAX) {
1262-
new_cap = _next_pow2(self->stream_len) + 1;
1263-
} else {
1264-
new_cap *= 2;
1265-
}
1266-
1261+
new_cap = _next_pow2(self->stream_len) + 1;
12671262
TRACE(
12681263
("parser_trim_buffers: new_cap = %zu, stream_cap = %zu, lines_cap = "
12691264
"%zu\n",

0 commit comments

Comments
 (0)