mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
This commit is contained in:
@@ -676,9 +676,6 @@ void RicWellPathExportMswCompletionsImpl::generateFishbonesMswExportInfo(
|
||||
double maxSegmentLength = enableSegmentSplitting ? mswParameters->maxSegmentLength()
|
||||
: std::numeric_limits<double>::infinity();
|
||||
|
||||
double subStartMD = wellPath->fishbonesCollection()->startMD();
|
||||
double subStartTVD = RicMswTableFormatterTools::tvdFromMeasuredDepth( branch->wellPath(), subStartMD );
|
||||
|
||||
auto unitSystem = exportInfo->unitSystem();
|
||||
|
||||
for ( RimFishbones* subs : fishbonesSubs )
|
||||
@@ -808,9 +805,6 @@ void RicWellPathExportMswCompletionsImpl::generateFishbonesMswExportInfo(
|
||||
segmentOnParentBranch->addCompletion( std::move( icdCompletion ) );
|
||||
}
|
||||
}
|
||||
|
||||
subStartMD = subEndMD;
|
||||
subStartTVD = subEndTVD;
|
||||
}
|
||||
}
|
||||
exportInfo->setHasSubGridIntersections( exportInfo->hasSubGridIntersections() || foundSubGridIntersections );
|
||||
|
||||
Reference in New Issue
Block a user