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:
@@ -103,9 +103,8 @@ void RivWellPathSourceInfo::normalizedIntersection( size_t triangleIn
|
||||
cvf::Vec3d segmentStart = rigWellPath->m_wellPathPoints[segIndex];
|
||||
cvf::Vec3d segmentEnd = rigWellPath->m_wellPathPoints[segIndex + 1];
|
||||
|
||||
double norm = 0.0;
|
||||
cvf::Vec3d pointOnLine =
|
||||
cvf::GeometryTools::projectPointOnLine( segmentStart, segmentEnd, globalIntersectionInDomain, &norm );
|
||||
double norm = 0.0;
|
||||
cvf::GeometryTools::projectPointOnLine( segmentStart, segmentEnd, globalIntersectionInDomain, &norm );
|
||||
norm = cvf::Math::clamp( norm, 0.0, 1.0 );
|
||||
|
||||
*firstSegmentIndex = segIndex;
|
||||
|
||||
Reference in New Issue
Block a user