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)
class DLLSYM C_OUTLINE:public ELIST_LINK {
public:
C_OUTLINE() { //empty constructor
steps = nullptr;
offsets = nullptr;
}
C_OUTLINE() {
stepcount = 0;
steps = nullptr;
offsets = nullptr;
}
C_OUTLINE( //constructor
CRACKEDGE *startpt, //from edge detector
ICOORD bot_left, //bounding box //length of loop