]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning in optimized mode. 4308/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Apr 2017 22:05:45 +0000 (16:05 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Apr 2017 22:05:45 +0000 (16:05 -0600)
source/lac/slepc_spectral_transformation.cc

index e4d8503a3b7c3e8e12017b35726d10f18401a925..da0087a096616ba0cf2b2cbd681ce89d0d77fbff 100644 (file)
@@ -42,6 +42,7 @@ namespace SLEPcWrappers
     if (st!=nullptr)
       {
         const PetscErrorCode ierr = STDestroy(&st);
+        (void)ierr;
         AssertNothrow (ierr == 0, SolverBase::ExcSLEPcError(ierr));
       }
   }

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.