From c46e0806a9961a52e5fec806a34629b873e1af1e Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Wed, 26 Feb 2025 14:39:46 -0800 Subject: [PATCH] Remove unused 'num_columns' --- src/data.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/data.cpp b/src/data.cpp index 264f212d..cd2913cf 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -70,9 +70,6 @@ ColumnVector::ColumnVector(std::string filename, int32_t column_index, bool head Log::Fatal("Could not recognize data format of %s", filename.c_str()); } - // Determine number of columns in the data file - int num_columns = parser->NumFeatures(); - // Read data to memory auto text_data = LoadTextDataToMemory(filename.c_str(), &num_global_data, header); int num_observations = static_cast(text_data.size());