Skip to content

Commit

Permalink
Fix CID 1164616 (Uninitialized scalar field)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jul 6, 2018
1 parent 430dc5c commit 37f8282
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ccstruct/coutln.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37f8282

Please sign in to comment.