From f5c340be342a427b8ef10e51e9d10fc6013c5b4c Mon Sep 17 00:00:00 2001 From: Gang Wu Date: Mon, 30 Dec 2024 13:09:23 +0800 Subject: [PATCH] MINOR: [C++][Parquet] Remove unused SerializedPageReader::current_page_ (#45125) ### Rationale for this change std::shared_ptr current_page_ has been defined but not used in the SerializedPageReader. ### What changes are included in this PR? Simply remove it. ### Are these changes tested? Pass CI. ### Are there any user-facing changes? No Authored-by: Gang Wu Signed-off-by: Sutou Kouhei --- cpp/src/parquet/column_reader.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/src/parquet/column_reader.cc b/cpp/src/parquet/column_reader.cc index 3ffc6f720061f..2a3bbf76d1c6e 100644 --- a/cpp/src/parquet/column_reader.cc +++ b/cpp/src/parquet/column_reader.cc @@ -291,7 +291,6 @@ class SerializedPageReader : public PageReader { std::shared_ptr stream_; format::PageHeader current_page_header_; - std::shared_ptr current_page_; // Compression codec to use. std::unique_ptr<::arrow::util::Codec> decompressor_;