Skip to content

Commit c46e080

Browse files
Remove unused 'num_columns'
1 parent 59d7786 commit c46e080

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/data.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ ColumnVector::ColumnVector(std::string filename, int32_t column_index, bool head
7070
Log::Fatal("Could not recognize data format of %s", filename.c_str());
7171
}
7272

73-
// Determine number of columns in the data file
74-
int num_columns = parser->NumFeatures();
75-
7673
// Read data to memory
7774
auto text_data = LoadTextDataToMemory(filename.c_str(), &num_global_data, header);
7875
int num_observations = static_cast<data_size_t>(text_data.size());

0 commit comments

Comments
 (0)