]> https://gitweb.dealii.org/ - dealii.git/commitdiff
AffineConstraints: Fix compile warning in new code 17238/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Tue, 9 Jul 2024 19:00:49 +0000 (21:00 +0200)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Tue, 9 Jul 2024 19:46:02 +0000 (21:46 +0200)
include/deal.II/lac/affine_constraints.templates.h

index 5bc85a5ab74d7dad4201b614a71a76fe9f840269..745326e4b20935c9677f2663fdd2ff2271d5a74f 100644 (file)
@@ -324,6 +324,7 @@ namespace internal
     const auto sort_and_make_unique = [&constraints_in, &locally_owned_dofs](
                                         std::vector<ConstraintType>
                                           &locally_relevant_constraints) {
+      (void)constraints_in;
       if (locally_relevant_constraints.empty())
         return;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.