From: Wolfgang Bangerth Date: Mon, 22 Aug 2016 23:09:13 +0000 (-0600) Subject: Avoid a warning about unused variables. X-Git-Tag: v8.5.0-rc1~748^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3001%2Fhead;p=dealii.git Avoid a warning about unused variables. --- diff --git a/tests/tests.h b/tests/tests.h index f258dcb65f..b0e2207aa0 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -335,6 +335,7 @@ mpi_initlog(bool console=false) deallog.threshold_float(1.e-8); } #else + (void)console; // can't use this function if not using MPI Assert (false, ExcInternalError()); #endif @@ -361,6 +362,7 @@ struct MPILogInitAll deallog.threshold_float(1.e-8); deallog.push(Utilities::int_to_string(myid)); #else + (void)console; // can't use this function if not using MPI Assert (false, ExcInternalError()); #endif