]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation warning (unused arg)
authorTimo Heister <timo.heister@gmail.com>
Thu, 15 Aug 2024 03:42:10 +0000 (23:42 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 15 Aug 2024 03:42:10 +0000 (23:42 -0400)
source/grid/tria.cc

index 378c0e8b29bab48d3676098f69e9836132998f3d..09c2c41140af50564744f49b35be18297f95e195 100644 (file)
@@ -900,13 +900,13 @@ namespace internal
   template <int dim, int spacedim>
   DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim<dim, spacedim>))
   void CellAttachedDataSerializer<dim, spacedim>::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;
 

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.