From 773e634901b1964682b1b8f09c36c93151526533 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 9 Jul 2024 21:00:49 +0200 Subject: [PATCH] AffineConstraints: Fix compile warning in new code --- include/deal.II/lac/affine_constraints.templates.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 5bc85a5ab7..745326e4b2 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -324,6 +324,7 @@ namespace internal const auto sort_and_make_unique = [&constraints_in, &locally_owned_dofs]( std::vector &locally_relevant_constraints) { + (void)constraints_in; if (locally_relevant_constraints.empty()) return; -- 2.39.5