Skip to content

Commit

Permalink
fread.c remove unused variable 'resj' closes #5511
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle committed Nov 2, 2022
1 parent 9273a58 commit a4c2b01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fread.c
Original file line number Diff line number Diff line change
Expand Up @@ -2536,9 +2536,8 @@ int freadMain(freadMainArgs _args) {
rowSize1 = rowSize4 = rowSize8 = 0;
nStringCols = 0;
nNonStringCols = 0;
for (int j=0, resj=-1; j<ncol; j++) {
for (int j=0; j<ncol; ++j) {
if (type[j] == CT_DROP) continue;
resj++;
if (type[j]<0) {
// column was bumped due to out-of-sample type exception
type[j] = -type[j];
Expand Down

0 comments on commit a4c2b01

Please sign in to comment.