This is an automated email from the ASF dual-hosted git repository.

zhaokuo 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 30cc3b6cf fix warnings by -Wunused-but-set-variable
30cc3b6cf is described below

commit 30cc3b6cffaba83f1e8be6220760af40d32223c2
Author: zhaokuo <[email protected]>
AuthorDate: Fri May 17 18:54:02 2024 +0800

    fix warnings 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]

Reply via email to