Fix CID 1405673 (Uninitialized members)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-09-17 22:04:08 +02:00
parent 85e8529a2e
commit 3b030b4aeb

View File

@ -851,7 +851,7 @@ class ColPartition : public ELIST2_LINK {
// Median width of blobs in this partition. // Median width of blobs in this partition.
int median_width_ = 0; int median_width_ = 0;
// blob_region_type_ for the blobs in this partition. // blob_region_type_ for the blobs in this partition.
BlobRegionType blob_type_; BlobRegionType blob_type_ = BRT_NOISE;
BlobTextFlowType flow_ = BTFT_NONE; // Quality of text flow. BlobTextFlowType flow_ = BTFT_NONE; // Quality of text flow.
// Total of GoodTextBlob results for all blobs in the partition. // Total of GoodTextBlob results for all blobs in the partition.
int good_blob_score_ = 0; int good_blob_score_ = 0;