From b3ad7f2a0133937ed8314ba3bac93e1c18593fde Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 2 Feb 2022 10:23:53 +0100 Subject: [PATCH] Fix warning regarding unused parameter --- include/deal.II/base/mpi_consensus_algorithms.templates.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 } -- 2.39.5