mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
Fix CID 1393243 (Uninitialized scalar field)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
2ceb200186
commit
f482ebdca1
@ -84,7 +84,9 @@ ColumnFinder::ColumnFinder(int gridsize,
|
|||||||
min_gutter_width_(static_cast<int>(kMinGutterWidthGrid * gridsize)),
|
min_gutter_width_(static_cast<int>(kMinGutterWidthGrid * gridsize)),
|
||||||
mean_column_gap_(tright.x() - bleft.x()),
|
mean_column_gap_(tright.x() - bleft.x()),
|
||||||
tabfind_aligned_gap_fraction_(aligned_gap_fraction),
|
tabfind_aligned_gap_fraction_(aligned_gap_fraction),
|
||||||
|
deskew_(0.0f, 0.0f),
|
||||||
reskew_(1.0f, 0.0f), rotation_(1.0f, 0.0f), rerotate_(1.0f, 0.0f),
|
reskew_(1.0f, 0.0f), rotation_(1.0f, 0.0f), rerotate_(1.0f, 0.0f),
|
||||||
|
text_rotation_(0.0f, 0.0f),
|
||||||
best_columns_(nullptr), stroke_width_(nullptr),
|
best_columns_(nullptr), stroke_width_(nullptr),
|
||||||
part_grid_(gridsize, bleft, tright), nontext_map_(nullptr),
|
part_grid_(gridsize, bleft, tright), nontext_map_(nullptr),
|
||||||
projection_(resolution),
|
projection_(resolution),
|
||||||
|
Loading…
Reference in New Issue
Block a user