From 17d3416a293cd37c79b33d2fb07b2d23dd5eae40 Mon Sep 17 00:00:00 2001 From: David Li Date: Fri, 23 Jun 2023 17:00:15 -0400 Subject: [PATCH] Fix warning --- c/validation/adbc_validation_util.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/c/validation/adbc_validation_util.h b/c/validation/adbc_validation_util.h index a239e769f7..fec5e7589d 100644 --- a/c/validation/adbc_validation_util.h +++ b/c/validation/adbc_validation_util.h @@ -200,7 +200,7 @@ struct StreamReader { /// \brief Read an AdbcGetInfoData struct with RAII safety struct GetObjectsReader { - explicit GetObjectsReader(struct ArrowArrayView* array_view) : array_view_(array_view) { + explicit GetObjectsReader(struct ArrowArrayView* array_view) { // TODO: this swallows any construction errors get_objects_data_ = AdbcGetObjectsDataInit(array_view); } @@ -214,7 +214,6 @@ struct GetObjectsReader { } private: - struct ArrowArrayView* array_view_; struct AdbcGetObjectsData* get_objects_data_; };