Fix CID 1164616 (Uninitialized scalar field)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2018-07-06 15:56:11 +02:00
parent 430dc5c0b6
commit 37f82824f5

View File

@ -72,10 +72,11 @@ struct Pix;
ELISTIZEH (C_OUTLINE) ELISTIZEH (C_OUTLINE)
class DLLSYM C_OUTLINE:public ELIST_LINK { class DLLSYM C_OUTLINE:public ELIST_LINK {
public: public:
C_OUTLINE() { //empty constructor C_OUTLINE() {
steps = nullptr; stepcount = 0;
offsets = nullptr; steps = nullptr;
} offsets = nullptr;
}
C_OUTLINE( //constructor C_OUTLINE( //constructor
CRACKEDGE *startpt, //from edge detector CRACKEDGE *startpt, //from edge detector
ICOORD bot_left, //bounding box //length of loop ICOORD bot_left, //bounding box //length of loop