]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix a release mode warning 13612/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 12 Apr 2022 18:09:30 +0000 (14:09 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 12 Apr 2022 18:09:30 +0000 (14:09 -0400)
include/deal.II/meshworker/copy_data.h

index 69f857b0bf8f1a9fcac1ce24b0eda64896796529..d008d8a1b50ceda7539f5e76c5c222a07037ff24 100644 (file)
@@ -220,6 +220,7 @@ namespace MeshWorker
     // So we have to be a bit permissive here.
     constexpr const int max_index =
       std::max(std::max(n_matrices, n_vectors), n_dof_indices);
+    (void)max_index;
     Assert(index < max_index, ExcIndexRange(index, 0, max_index));
 
     if (index < n_matrices)

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.