]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use trick to hide warnings about unused parameters 2383/head
authorKarl Ljungkvist <k.ljungkvist@gmail.com>
Sat, 19 Mar 2016 18:26:26 +0000 (13:26 -0500)
committerKarl Ljungkvist <k.ljungkvist@gmail.com>
Sat, 19 Mar 2016 18:26:26 +0000 (13:26 -0500)
include/deal.II/matrix_free/fe_evaluation.h

index b2c52d67886e107a53562a186dc07effd6abfd62..191c8374e7d70de295972207dc873ea12de170c1 100644 (file)
@@ -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<dim,fe_degree,n_q_points_1d,n_components_,Number>
 ::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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.