diff --git a/common/src/KokkosFFT_Extents.hpp b/common/src/KokkosFFT_Extents.hpp index 95a4dc34..e3bea237 100644 --- a/common/src/KokkosFFT_Extents.hpp +++ b/common/src/KokkosFFT_Extents.hpp @@ -33,7 +33,7 @@ namespace Impl { template auto get_extents(const InViewType& in, const OutViewType& out, axis_type axes, shape_type shape = {}, - bool is_inplace = false) { + [[maybe_unused]] bool is_inplace = false) { using in_value_type = typename InViewType::non_const_value_type; using out_value_type = typename OutViewType::non_const_value_type; using array_layout_type = typename InViewType::array_layout;