From 09e86f4efe6640d3730768635ca1aed83b95c7c0 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 14 Aug 2024 23:42:10 -0400 Subject: [PATCH] fix compilation warning (unused arg) --- source/grid/tria.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 378c0e8b29..09c2c41140 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -900,13 +900,13 @@ namespace internal template DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim)) void CellAttachedDataSerializer::load( - const unsigned int global_first_cell, - const unsigned int global_num_cells, - const unsigned int local_num_cells, - const std::string &file_basename, - const unsigned int n_attached_deserialize_fixed, - const unsigned int n_attached_deserialize_variable, - [[maybe_unused]] const MPI_Comm &mpi_communicator) + const unsigned int global_first_cell, + const unsigned int global_num_cells, + const unsigned int local_num_cells, + const std::string &file_basename, + const unsigned int n_attached_deserialize_fixed, + const unsigned int n_attached_deserialize_variable, + const MPI_Comm &mpi_communicator) { Assert(dest_data_fixed.empty(), ExcMessage("Previously loaded data has not been released yet!")); @@ -1063,6 +1063,7 @@ namespace internal else // if (mpisize > 1) #endif { + (void)mpi_communicator; (void)global_first_cell; (void)global_num_cells; -- 2.39.5