mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update to clang-16
Use runner Ubuntu 22.04 for clang-16 Remove unused code detected by clang-16
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user