From: Martin Kronbichler Date: Tue, 9 Jul 2024 19:00:49 +0000 (+0200) Subject: AffineConstraints: Fix compile warning in new code X-Git-Tag: v9.6.0-rc1~113^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773e634901b1964682b1b8f09c36c93151526533;p=dealii.git AffineConstraints: Fix compile warning in new code --- 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;