From 74cde4c276ef29f2fe8e9f68f45a6a58d32e01fc Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 6 Feb 2020 13:15:20 -0600 Subject: [PATCH] silence unused variables warning --- include/deal.II/matrix_free/matrix_free.templates.h | 2 ++ 1 file changed, 2 insertions(+) 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]; } -- 2.39.5