]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed maybe unused in [[ ]] 17503/head
authorHenry Arhin <arhin2014@gmail.com>
Mon, 12 Aug 2024 22:13:24 +0000 (18:13 -0400)
committerHenry Arhin <arhin2014@gmail.com>
Thu, 15 Aug 2024 23:05:06 +0000 (17:05 -0600)
source/base/mpi.cc

index 94200c48be229f6fa7e99744d469ab3d3f5ab892..75c1f4272bbd1cfc0eeb0eca2b2da3295897d5d8 100644 (file)
@@ -234,7 +234,7 @@ namespace Utilities
         if (p != nullptr)
           {
             const int ierr = MPI_Type_free(p);
-            (void)ierr;
+
             AssertNothrow(ierr == MPI_SUCCESS, ExcMPI(ierr));
 
             delete p;
@@ -254,12 +254,11 @@ 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)
         {
-          (void)destination;
           AssertIndexRange(destination, n_procs);
         }
 
@@ -396,7 +395,6 @@ namespace Utilities
 
           for (const unsigned int destination : destinations)
             {
-              (void)destination;
               AssertIndexRange(destination, n_procs);
               Assert(destination != Utilities::MPI::this_mpi_process(mpi_comm),
                      ExcMessage(

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.