mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 08:20:01 -06:00
fix a few "unused variable" warnings that occur on more uncommon compilers
i.e. on ICC. the compiler is right in producing warnings here, though.
This commit is contained in:
parent
aaf885098d
commit
21cce7514e
@ -457,7 +457,7 @@ public:
|
||||
try {
|
||||
bubblePointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::bubblePointPressure(fs, intQuants.pvtRegionIndex()));
|
||||
}
|
||||
catch (const Opm::NumericalIssue& e) {
|
||||
catch (const Opm::NumericalIssue&) {
|
||||
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
||||
failedCellsPb_.push_back(globalIdx);
|
||||
}
|
||||
@ -467,7 +467,7 @@ public:
|
||||
try {
|
||||
dewPointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::dewPointPressure(fs, intQuants.pvtRegionIndex()));
|
||||
}
|
||||
catch (const Opm::NumericalIssue& e) {
|
||||
catch (const Opm::NumericalIssue&) {
|
||||
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
||||
failedCellsPd_.push_back(globalIdx);
|
||||
}
|
||||
|
@ -763,7 +763,7 @@ protected:
|
||||
try {
|
||||
eclWell->setRadius(elemCtx, dofIdx, 0.5*completion->getDiameter());
|
||||
}
|
||||
catch (const std::logic_error& e)
|
||||
catch (const std::logic_error&)
|
||||
{}
|
||||
|
||||
// overwrite the automatically computed effective
|
||||
|
Loading…
Reference in New Issue
Block a user