]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning about unused variable 9041/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 12 Nov 2019 09:41:31 +0000 (10:41 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 12 Nov 2019 09:41:31 +0000 (10:41 +0100)
source/base/mpi.cc

index 6c1388ed162d581a1a7d0ace3de0318f37764a79..40d231bc006acd7a3a12aa2c6117ae49778c37bc 100644 (file)
@@ -286,6 +286,8 @@ namespace Utilities
     {
       const unsigned int myid    = Utilities::MPI::this_mpi_process(mpi_comm);
       const unsigned int n_procs = Utilities::MPI::n_mpi_processes(mpi_comm);
+      (void)myid;
+      (void)n_procs;
 
       for (const unsigned int destination : destinations)
         {

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.