Update to clang-16

Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2024-01-05 15:13:50 +01:00
1 parent 9ac518fbe0
commit ff6472c6b7
8 files changed
+30 -32

No files matched your search

@@ -164,7 +164,6 @@ RimPolylinesFromFileAnnotation* RimAnnotationCollection::importOrUpdatePolylines
}
}
size_t newLinesIdx = 0;
for ( const QString& newFileName : newFileNames )
{
RimPolylinesFromFileAnnotation* newPolyLinesAnnot = new RimPolylinesFromFileAnnotation;
@@ -177,8 +176,6 @@ RimPolylinesFromFileAnnotation* RimAnnotationCollection::importOrUpdatePolylines
m_polylineFromFileAnnotations->addAnnotation( newPolyLinesAnnot );
polyLinesObjsToReload.push_back( newPolyLinesAnnot );
++newLinesIdx;
}
updateViewAnnotationCollections();
@@ -377,7 +377,6 @@ void RimWellLogTrack::calculatePropertyValueZoomRange()
double maxValue = -HUGE_VAL;
size_t topologyCurveCount = 0;
size_t visibleCurves = 0u;
for ( const auto& curve : m_curves )
{
double minCurveValue = HUGE_VAL;
@@ -385,7 +384,6 @@ void RimWellLogTrack::calculatePropertyValueZoomRange()
if ( curve->isChecked() )
{
visibleCurves++;
if ( curve->propertyValueRangeInData( &minCurveValue, &maxCurveValue ) )
{
if ( minCurveValue < minValue )