do not name exception objects if they are not used

ICC rightfully produces a warning here...
This commit is contained in:
Andreas Lauser
2018-03-03 13:22:11 +01:00
parent 732d86613e
commit 999653783b

View File

@@ -369,7 +369,7 @@ namespace Opm {
// the reservoir equations as a source term.
wellModel().assemble(iterationIdx, dt);
}
catch ( const Dune::FMatrixError& e )
catch ( const Dune::FMatrixError& )
{
OPM_THROW(Opm::NumericalIssue,"Error encounted when solving well equations");
}