Skip to content

Commit cbddc29

Browse files
hugtalbotepernod
andauthored
[Topology] Fix unused variable warning in TriangleSubdividers (sofa-framework#5348)
Co-authored-by: erik pernod <erik.pernod@gmail.com>
1 parent c54c4f0 commit cbddc29

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/TriangleSubdividers.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ bool TriangleSubdivider::subdivide_2Edge(const sofa::type::fixed_array<sofa::typ
291291
}
292292

293293
PointID nextID = m_triangle[(communLocalID + 1) % 3];
294-
PointID otherEdgeId0 = (theEdge0[0] == communID) ? theEdge0[1] : theEdge0[0];
295294
PointID otherEdgeId1 = (theEdge1[0] == communID) ? theEdge1[1] : theEdge1[0];
296295

297296
bool directOriented = (otherEdgeId1 == nextID) ? true : false;

0 commit comments

Comments
 (0)