From 6c196860b4d254861e2ef6ac79e2dd1c2116efca Mon Sep 17 00:00:00 2001 From: Karl Ljungkvist Date: Sat, 19 Mar 2016 13:26:26 -0500 Subject: [PATCH] Use trick to hide warnings about unused parameters --- include/deal.II/matrix_free/fe_evaluation.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index b2c52d6788..191c8374e7 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -2146,6 +2146,9 @@ namespace internal void check_vector_compatibility (const VectorType &vec, const internal::MatrixFreeFunctions::DoFInfo &dof_info) { + (void) vec; + (void) dof_info; + AssertDimension (vec.size(), dof_info.vector_partitioner->size()); } @@ -6525,6 +6528,7 @@ void FEEvaluation ::check_template_arguments(const unsigned int fe_no) { + (void)fe_no; #ifdef DEBUG // print error message when the dimensions do not match. Propose a possible // fix -- 2.39.5