Clear some compile warnings
This commit is contained in:
+2
-1
@@ -889,7 +889,8 @@ void DisposeOutPts( OutPt*& pp )
|
||||
|
||||
inline void InitEdge( TEdge* e, TEdge* eNext, TEdge* ePrev, const IntPoint& Pt )
|
||||
{
|
||||
std::memset( e, 0, sizeof(TEdge) );
|
||||
// This clears the C++ way
|
||||
*e = TEdge( { 0 } );
|
||||
|
||||
e->Next = eNext;
|
||||
e->Prev = ePrev;
|
||||
|
||||
Reference in New Issue
Block a user