From: Martin Kronbichler Date: Tue, 12 Nov 2019 09:41:31 +0000 (+0100) Subject: Avoid warning about unused variable X-Git-Tag: v9.2.0-rc1~884^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9041%2Fhead;p=dealii.git Avoid warning about unused variable --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 6c1388ed16..40d231bc00 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -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) {