This is an automated email from the ASF dual-hosted git repository.
hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 6195e5d67 [VL][Minor] Fix warnings caused by -Wunused-but-set-variable
6195e5d67 is described below
commit 6195e5d67e010d6f7d05921bc77f52a6d1349472
Author: zhaokuo <[email protected]>
AuthorDate: Mon May 20 20:19:59 2024 +0800
[VL][Minor] Fix warnings caused by -Wunused-but-set-variable
---
cpp/velox/substrait/SubstraitToVeloxPlan.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/velox/substrait/SubstraitToVeloxPlan.cc
b/cpp/velox/substrait/SubstraitToVeloxPlan.cc
index b50f9bd34..34ba6057c 100644
--- a/cpp/velox/substrait/SubstraitToVeloxPlan.cc
+++ b/cpp/velox/substrait/SubstraitToVeloxPlan.cc
@@ -2158,8 +2158,8 @@ void
SubstraitToVeloxPlanConverter::constructSubfieldFilters(
upperBound = getMax<NativeType>();
}
- bool lowerUnbounded = true;
- bool upperUnbounded = true;
+ [[maybe_unused]] bool lowerUnbounded = true;
+ [[maybe_unused]] bool upperUnbounded = true;
bool lowerExclusive = false;
bool upperExclusive = false;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]