Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
2bbfd259
Commit
2bbfd259
authored
Apr 30, 2013
by
mattijs
Browse files
COMP: triangle: unused variable
parent
42811b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H
View file @
2bbfd259
...
...
@@ -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;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment