From: Karl Ljungkvist Date: Sat, 19 Mar 2016 18:26:26 +0000 (-0500) Subject: Use trick to hide warnings about unused parameters X-Git-Tag: v8.5.0-rc1~1194^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c196860b4d254861e2ef6ac79e2dd1c2116efca;p=dealii.git Use trick to hide warnings about unused parameters --- 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