Skip to content

Commit 088aa50

Browse files
authored
remove else branch (#7205)
1 parent 36bd74a commit 088aa50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/fread.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,9 +2153,8 @@ int freadMain(freadMainArgs _args)
21532153
DTPRINT(_(" Initial alloc = %"PRId64" rows (%"PRId64" + %d%%) using bytes/max(mean-2*sd,min) clamped between [1.1*estn, 2.0*estn]\n"),
21542154
allocnrow, estnrow, (int)(100.0 * allocnrow / estnrow - 100.0));
21552155
DTPRINT(" =====\n"); // # notranslate
2156-
} else {
2157-
if (sampleLines > allocnrow) INTERNAL_STOP("sampleLines(%"PRId64") > allocnrow(%"PRId64")", sampleLines, allocnrow); // # nocov
21582156
}
2157+
if (sampleLines > allocnrow) INTERNAL_STOP("sampleLines(%"PRId64") > allocnrow(%"PRId64")", sampleLines, allocnrow); // # nocov
21592158
}
21602159
if (nrowLimit < allocnrow) {
21612160
if (verbose) DTPRINT(_(" Alloc limited to lower nrows=%"PRId64" passed in.\n"), nrowLimit);

0 commit comments

Comments
 (0)