From: Daniel Arndt Date: Tue, 4 May 2021 17:19:23 +0000 (-0400) Subject: Fix unused variable warning in fe_interface_values.h X-Git-Tag: v9.3.0-rc1~132^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1d10bd5157126579c481608cc5197c6eb9b2ce3;p=dealii.git Fix unused variable warning in fe_interface_values.h --- diff --git a/include/deal.II/fe/fe_interface_values.h b/include/deal.II/fe/fe_interface_values.h index f245c55d5e..85dfe394f3 100644 --- a/include/deal.II/fe/fe_interface_values.h +++ b/include/deal.II/fe/fe_interface_values.h @@ -1393,6 +1393,7 @@ inline const FEInterfaceViews::Vector (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(*this, vector.first_vector_component);