mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix extra compiler warnings
this is only relevant people who are masochistic enough to go beyond `-Wall`. (note that at this warning level, there is plenty of noise from Dune and other upstream dependencies.)
This commit is contained in:
@@ -269,11 +269,11 @@ public:
|
||||
//! position of the domain [kg/(m^3 * s)]. Positive values mean that
|
||||
//! mass is created.
|
||||
template <class Context>
|
||||
void source(RateVector& source, const Context& /*context*/,
|
||||
void source(RateVector& sourceRate, const Context& /*context*/,
|
||||
unsigned /*spaceIdx*/, unsigned /*timeIdx*/) const
|
||||
{
|
||||
source[contiWettingEqIdx] = 0.0;
|
||||
source[contiNonWettingEqIdx] = 0.0;
|
||||
sourceRate[contiWettingEqIdx] = 0.0;
|
||||
sourceRate[contiNonWettingEqIdx] = 0.0;
|
||||
}
|
||||
|
||||
//! Evaluates the initial value at a given position in the domain.
|
||||
|
||||
Reference in New Issue
Block a user