From: Matthias Maier Date: Thu, 6 Feb 2020 19:15:20 +0000 (-0600) Subject: silence unused variables warning X-Git-Tag: v9.2.0-rc1~557^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9216%2Fhead;p=dealii.git silence unused variables warning --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index fd119ddb61..3f317a1c95 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -72,6 +72,7 @@ namespace internal const unsigned int n_dof_handlers, const unsigned int dof_handler_index) { + (void)n_dof_handlers; AssertDimension(dof_handler.size(), n_dof_handlers); return *dof_handler[dof_handler_index]; } @@ -92,6 +93,7 @@ namespace internal const unsigned int n_dof_handlers, const unsigned int dof_handler_index) { + (void)n_dof_handlers; AssertDimension(hp_dof_handler.size(), n_dof_handlers); return *hp_dof_handler[dof_handler_index]; }