]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix unused variables in SUNDIALS wrappers' destructors 5864/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 5 Feb 2018 09:07:54 +0000 (10:07 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 5 Feb 2018 09:07:54 +0000 (10:07 +0100)
source/sundials/arkode.cc
source/sundials/ida.cc
source/sundials/kinsol.cc

index 205c0d9b474656dd86adb018dd100753a257d24f..96c86e6e3a53cd534796d571291f9392cbce4978 100644 (file)
@@ -239,6 +239,7 @@ namespace SUNDIALS
     if (is_serial_vector<VectorType>::value == false)
       {
         const int ierr = MPI_Comm_free(&communicator);
+        (void)ierr;
         AssertNothrow(ierr == MPI_SUCCESS, ExcMPI(ierr));
       }
 #endif
index 11afc8fc8841e5a255764a411c86c67204c28ae8..43dcb800858e925892055b10971317e4add10051 100644 (file)
@@ -167,6 +167,7 @@ namespace SUNDIALS
     if (is_serial_vector<VectorType>::value == false)
       {
         const int ierr = MPI_Comm_free(&communicator);
+        (void)ierr;
         AssertNothrow(ierr == MPI_SUCCESS, ExcMPI(ierr));
       }
 #endif
index ba07fb638f69e35f7048da8503147fbea73f655e..4fe71f0efdd3eeb0eca12326ead162cc3b3b28b3 100644 (file)
@@ -169,6 +169,7 @@ namespace SUNDIALS
     if (is_serial_vector<VectorType>::value == false)
       {
         const int ierr = MPI_Comm_free(&communicator);
+        (void)ierr;
         AssertNothrow(ierr == MPI_SUCCESS, ExcMPI(ierr));
       }
 #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.