From: Martin Kronbichler Date: Wed, 2 Feb 2022 09:23:53 +0000 (+0100) Subject: Fix warning regarding unused parameter X-Git-Tag: v9.4.0-rc1~540^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13324%2Fhead;p=dealii.git Fix warning regarding unused parameter --- diff --git a/include/deal.II/base/mpi_consensus_algorithms.templates.h b/include/deal.II/base/mpi_consensus_algorithms.templates.h index d1b5b9766e..e1f050c5ac 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.templates.h +++ b/include/deal.II/base/mpi_consensus_algorithms.templates.h @@ -501,6 +501,7 @@ namespace Utilities void NBX::clean_up_and_end_communication(const MPI_Comm &comm) { + (void)comm; #ifdef DEAL_II_WITH_MPI // clean up { @@ -528,8 +529,6 @@ namespace Utilities AssertThrowMPI(ierr); # endif } -#else - (void)comm; #endif }