mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove "set-but-unused" variables (generates warnings on gcc 7).
This commit is contained in:
@@ -120,7 +120,6 @@ void RimFormationNames::updateConnectedViews()
|
||||
std::vector<RimCase*> objects;
|
||||
this->objectsWithReferringPtrFieldsOfType( objects );
|
||||
|
||||
bool updatedTracks = false;
|
||||
for ( RimCase* caseObj : objects )
|
||||
{
|
||||
if ( caseObj )
|
||||
@@ -135,7 +134,6 @@ void RimFormationNames::updateConnectedViews()
|
||||
if ( track->formationNamesCase() == caseObj )
|
||||
{
|
||||
track->loadDataAndUpdate();
|
||||
updatedTracks = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -375,8 +375,7 @@ void RimWellLogRftCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
{
|
||||
this->RimPlotCurve::updateCurvePresentation( updateParentPlot );
|
||||
|
||||
RiaDefines::DepthTypeEnum depthType = RiaDefines::DepthTypeEnum::TRUE_VERTICAL_DEPTH;
|
||||
DerivedMDSource derivedMDSource = NO_SOURCE;
|
||||
DerivedMDSource derivedMDSource = NO_SOURCE;
|
||||
|
||||
if ( isCurveVisible() )
|
||||
{
|
||||
@@ -384,8 +383,6 @@ void RimWellLogRftCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
firstAncestorOrThisOfType( wellLogPlot );
|
||||
CVF_ASSERT( wellLogPlot );
|
||||
|
||||
depthType = wellLogPlot->depthType();
|
||||
|
||||
RimWellRftPlot* rftPlot = dynamic_cast<RimWellRftPlot*>( wellLogPlot );
|
||||
bool showErrorBarsInObservedData = rftPlot ? rftPlot->showErrorBarsForObservedData() : false;
|
||||
m_showErrorBars = showErrorBarsInObservedData;
|
||||
|
||||
@@ -2484,11 +2484,6 @@ void RimWellLogTrack::updateResultPropertyNamesOnPlot()
|
||||
RimDepthTrackPlot* plot = nullptr;
|
||||
firstAncestorOrThisOfTypeAsserted( plot );
|
||||
|
||||
RimMainPlotCollection* mainPlotCollection;
|
||||
this->firstAncestorOrThisOfTypeAsserted( mainPlotCollection );
|
||||
|
||||
RimWellLogPlotCollection* wellLogCollection = mainPlotCollection->wellLogPlotCollection();
|
||||
|
||||
RigEclipseWellLogExtractor* eclWellLogExtractor =
|
||||
RiaExtractionTools::wellLogExtractorEclipseCase( m_formationWellPathForSourceCase,
|
||||
dynamic_cast<RimEclipseCase*>( m_formationCase() ) );
|
||||
|
||||
Reference in New Issue
Block a user