]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix unused variable warning in fe_interface_values.h 12137/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 4 May 2021 17:19:23 +0000 (13:19 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 4 May 2021 17:19:23 +0000 (13:19 -0400)
include/deal.II/fe/fe_interface_values.h

index f245c55d5e059b140621175de3a2f890110991f0..85dfe394f3ab43debe8635616e118f426b3b24ff 100644 (file)
@@ -1393,6 +1393,7 @@ inline const FEInterfaceViews::Vector<dim, spacedim>
     (fe.n_components() >= Tensor<1, spacedim>::n_independent_components ?
        fe.n_components() - Tensor<1, spacedim>::n_independent_components + 1 :
        0);
+  (void)n_vectors;
   AssertIndexRange(vector.first_vector_component, n_vectors);
   return FEInterfaceViews::Vector<dim, spacedim>(*this,
                                                  vector.first_vector_component);

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.