Skip to content
Snippets Groups Projects
Commit 2bbfd259 authored by mattijs's avatar mattijs
Browse files

COMP: triangle: unused variable

parent 42811b16
Branches
Tags
No related merge requests found
...@@ -715,7 +715,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint ...@@ -715,7 +715,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
point nearestEdgePoint; point nearestEdgePoint;
point nearestLinePoint; point nearestLinePoint;
label minEdgeIndex = 0; //label minEdgeIndex = 0;
scalar minDist = ln.nearestDist scalar minDist = ln.nearestDist
( (
linePointRef(a_, b_), linePointRef(a_, b_),
...@@ -737,7 +737,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint ...@@ -737,7 +737,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
minDist = dist; minDist = dist;
nearestEdgePoint = triEdgePoint; nearestEdgePoint = triEdgePoint;
nearestLinePoint = linePoint; nearestLinePoint = linePoint;
minEdgeIndex = 1; //minEdgeIndex = 1;
} }
} }
...@@ -755,7 +755,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint ...@@ -755,7 +755,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
minDist = dist; minDist = dist;
nearestEdgePoint = triEdgePoint; nearestEdgePoint = triEdgePoint;
nearestLinePoint = linePoint; nearestLinePoint = linePoint;
minEdgeIndex = 2; //minEdgeIndex = 2;
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment