From: Wolfgang Bangerth Date: Mon, 24 Apr 2017 22:05:45 +0000 (-0600) Subject: Avoid a warning in optimized mode. X-Git-Tag: v9.0.0-rc1~1656^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4308%2Fhead;p=dealii.git Avoid a warning in optimized mode. --- diff --git a/source/lac/slepc_spectral_transformation.cc b/source/lac/slepc_spectral_transformation.cc index e4d8503a3b..da0087a096 100644 --- a/source/lac/slepc_spectral_transformation.cc +++ b/source/lac/slepc_spectral_transformation.cc @@ -42,6 +42,7 @@ namespace SLEPcWrappers if (st!=nullptr) { const PetscErrorCode ierr = STDestroy(&st); + (void)ierr; AssertNothrow (ierr == 0, SolverBase::ExcSLEPcError(ierr)); } }