Commit 2bbfd259 authored by mattijs's avatar mattijs
Browse files

COMP: triangle: unused variable

parent 42811b16
......@@ -715,7 +715,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
point nearestEdgePoint;
point nearestLinePoint;
label minEdgeIndex = 0;
//label minEdgeIndex = 0;
scalar minDist = ln.nearestDist
(
linePointRef(a_, b_),
......@@ -737,7 +737,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
minDist = dist;
nearestEdgePoint = triEdgePoint;
nearestLinePoint = linePoint;
minEdgeIndex = 1;
//minEdgeIndex = 1;
}
}
......@@ -755,7 +755,7 @@ inline Foam::pointHit Foam::triangle<Point, PointRef>::nearestPoint
minDist = dist;
nearestEdgePoint = triEdgePoint;
nearestLinePoint = linePoint;
minEdgeIndex = 2;
//minEdgeIndex = 2;
}
}
......
Markdown is supported
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