From e08fb7ca1978f16ebfceec36d9994c2fcbbec8b4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 22 Aug 2016 17:09:13 -0600 Subject: [PATCH] Avoid a warning about unused variables. --- tests/tests.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5