From b2ae509030ec50fc8e4245c9a1e64a8eeebff1a8 Mon Sep 17 00:00:00 2001 From: chertus Date: Mon, 11 Nov 2019 21:02:44 +0300 Subject: [PATCH] fix gcc9 build --- dbms/src/Functions/GatherUtils/Algorithms.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dbms/src/Functions/GatherUtils/Algorithms.h b/dbms/src/Functions/GatherUtils/Algorithms.h index fd77d52ece6..9904d0619f1 100644 --- a/dbms/src/Functions/GatherUtils/Algorithms.h +++ b/dbms/src/Functions/GatherUtils/Algorithms.h @@ -431,7 +431,10 @@ bool sliceHasImpl(const FirstSliceType & first, const SecondSliceType & second, } template -bool sliceEqualElements(const NumericArraySlice & first, const NumericArraySlice & second, size_t first_ind, size_t second_ind) +bool sliceEqualElements(const NumericArraySlice & first [[maybe_unused]], + const NumericArraySlice & second [[maybe_unused]], + size_t first_ind [[maybe_unused]], + size_t second_ind [[maybe_unused]]) { /// TODO: Decimal scale if constexpr (IsDecimalNumber && IsDecimalNumber)