]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning about unused variables. 3001/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 22 Aug 2016 23:09:13 +0000 (17:09 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 22 Aug 2016 23:09:13 +0000 (17:09 -0600)
tests/tests.h

index f258dcb65fd999f2cf673d725ccaa211f7c3da85..b0e2207aa00fe6ffe5117a1cdcb4bb12b2664636 100644 (file)
@@ -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

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.