]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning regarding unused parameter 13324/head
authorMartin Kronbichler <martin.kronbichler@it.uu.se>
Wed, 2 Feb 2022 09:23:53 +0000 (10:23 +0100)
committerMartin Kronbichler <martin.kronbichler@it.uu.se>
Wed, 2 Feb 2022 09:23:53 +0000 (10:23 +0100)
include/deal.II/base/mpi_consensus_algorithms.templates.h

index d1b5b9766ef0711c86af90bf026cba4d0ad2ce3d..e1f050c5ac48bebe72de2ae3086ebb5bdc1be0de 100644 (file)
@@ -501,6 +501,7 @@ namespace Utilities
       void
       NBX<T1, T2>::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
       }
 

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.