Clear some compile warnings

This commit is contained in:
Seth Hillbrand
2019-06-13 15:16:54 -07:00
parent 8cc1e2b5e7
commit fb3d1bdb59
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -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;