SHAPE_ARC: fix uninitialized member in a CTOR that created issues in a QA test.

Initializing all members is always good.
This commit is contained in:
jean-pierre charras 2019-01-17 16:35:54 +01:00
parent 7f6801bc27
commit 6bea0951a3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class SHAPE_ARC : public SHAPE
{
public:
SHAPE_ARC() :
SHAPE( SH_ARC ), m_width( 0 ) {};
SHAPE( SH_ARC ), m_centralAngle( 0.0 ), m_width( 0 ) {};
SHAPE_ARC( const VECTOR2I& aArcCenter, const VECTOR2I& aArcStartPoint,
double aCenterAngle, int aWidth = 0 ) :