From 2ab4971449cd13b0cfc95fbe737f4f5204b07e5a Mon Sep 17 00:00:00 2001 From: Jeff Knupp Date: Sat, 22 Jul 2017 23:14:03 -0400 Subject: [PATCH] Remove debugging code --- pandas/_libs/src/parser/tokenizer.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pandas/_libs/src/parser/tokenizer.c b/pandas/_libs/src/parser/tokenizer.c index d5bb1a2fbc136..ab92290f87719 100644 --- a/pandas/_libs/src/parser/tokenizer.c +++ b/pandas/_libs/src/parser/tokenizer.c @@ -1258,12 +1258,7 @@ int parser_trim_buffers(parser_t *self) { } /* trim stream */ - if (new_cap < INT32_MAX) { - new_cap = _next_pow2(self->stream_len) + 1; - } else { - new_cap *= 2; - } - + new_cap = _next_pow2(self->stream_len) + 1; TRACE( ("parser_trim_buffers: new_cap = %zu, stream_cap = %zu, lines_cap = " "%zu\n",