mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Remove unused variables
This commit is contained in:
@@ -103,8 +103,6 @@ void RigGeoMechWellLogExtractor::performCurveDataSmoothing( int
|
||||
|
||||
if ( !mds->empty() && !values->empty() )
|
||||
{
|
||||
std::vector<std::vector<double>*> dependentValues = {tvds, &interfaceShValuesDbl, &interfacePorePressuresDbl};
|
||||
|
||||
std::vector<unsigned char> smoothOrFilterSegments = determineFilteringOrSmoothing( interfacePorePressuresDbl );
|
||||
|
||||
smoothSegments( mds, tvds, values, interfaceShValuesDbl, smoothOrFilterSegments, smoothingTreshold );
|
||||
@@ -577,14 +575,6 @@ void RigGeoMechWellLogExtractor::wellBoreWallCurveData( const RigFemResultAddres
|
||||
RigFemResultAddress stressResAddr( RIG_ELEMENT_NODAL, "ST", "" );
|
||||
RigFemResultAddress porBarResAddr( RIG_ELEMENT_NODAL, "POR-Bar", "" );
|
||||
|
||||
// Allow POR as an element property value
|
||||
RigFemResultAddress ppSandElementPropertyAddr =
|
||||
RigWbsParameter::PP_Reservoir().femAddress( RigWbsParameter::ELEMENT_PROPERTY_TABLE );
|
||||
|
||||
RigFemResultAddress poissonResAddr =
|
||||
RigWbsParameter::poissonRatio().femAddress( RigWbsParameter::ELEMENT_PROPERTY_TABLE );
|
||||
RigFemResultAddress ucsResAddr = RigWbsParameter::UCS().femAddress( RigWbsParameter::ELEMENT_PROPERTY_TABLE );
|
||||
|
||||
RigFemPartResultsCollection* resultCollection = m_caseData->femPartResults();
|
||||
|
||||
// Load results
|
||||
|
||||
@@ -861,10 +861,9 @@ void GeometryTools::calculatePartiallyFreeCubeFacePolygon(
|
||||
|
||||
// Check for holes
|
||||
|
||||
bool hasHoles = false;
|
||||
for ( size_t i = 0; i < isConnectionPolygonMerged.size(); ++i )
|
||||
{
|
||||
hasHoles = !isConnectionPolygonMerged[i];
|
||||
bool hasHoles = !isConnectionPolygonMerged[i];
|
||||
if ( hasHoles )
|
||||
{
|
||||
*m_partiallyFreeCubeFaceHasHoles = true;
|
||||
|
||||
Reference in New Issue
Block a user