mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: triangle: unused variable
This commit is contained in:
@ -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
|
|||||||
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
|
|||||||
minDist = dist;
|
minDist = dist;
|
||||||
nearestEdgePoint = triEdgePoint;
|
nearestEdgePoint = triEdgePoint;
|
||||||
nearestLinePoint = linePoint;
|
nearestLinePoint = linePoint;
|
||||||
minEdgeIndex = 2;
|
//minEdgeIndex = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user