From: Wolfgang Bangerth Date: Tue, 18 Apr 2017 22:38:49 +0000 (-0600) Subject: Avoid a warning in release mode. X-Git-Tag: v9.0.0-rc1~1672^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f5a59f77ab753b4e564e9e288fb6e43665d3778;p=dealii.git Avoid a warning in release mode. --- diff --git a/source/lac/slepc_solver.cc b/source/lac/slepc_solver.cc index ea91456bce..e7f434c5f2 100644 --- a/source/lac/slepc_solver.cc +++ b/source/lac/slepc_solver.cc @@ -68,6 +68,7 @@ namespace SLEPcWrappers #else const PetscErrorCode ierr = EPSDestroy (&eps); #endif + (void)ierr; AssertNothrow (ierr == 0, ExcSLEPcError(ierr)); } }