CppCheck : Remove unused function and added whitespace

This commit is contained in:
Magne Sjaastad
2017-09-07 22:26:27 +02:00
parent fb1b6cc628
commit 9815cbe1ff
2 changed files with 4 additions and 29 deletions
@@ -60,25 +60,3 @@ double RiaEclipseUnitTools::darcysConstant(UnitSystem unitSystem)
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RiaEclipseUnitTools::convertConductivtyValue(double Kw, UnitSystem fromUnit, UnitSystem toUnit)
{
if (fromUnit == toUnit) return Kw;
else if (fromUnit == UNITS_METRIC && toUnit == UNITS_FIELD)
{
return meterToFeet(Kw);
}
else if (fromUnit == UNITS_METRIC && toUnit == UNITS_FIELD)
{
return feetToMeter(Kw);
}
CVF_ASSERT(false);
return HUGE_VAL;
}