From e5f596afcb83abeb763a2628a025c6fd69f5fe24 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 24 Apr 2017 16:05:45 -0600 Subject: [PATCH] Avoid a warning in optimized mode. --- source/lac/slepc_spectral_transformation.cc | 1 + 1 file changed, 1 insertion(+) 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)); } } -- 2.39.5