mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
Fix CID 1393244 and CID 1393244 (Uninitialized scalar variable)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d6391ee811
commit
2ceb200186
@ -354,7 +354,7 @@ static void ExtractFeaturesFromRun(
|
||||
denorm.NormTransform(root_denorm, prev_normed_pos, &prev_normed_pos);
|
||||
LLSQ points;
|
||||
LLSQ dirs;
|
||||
FCOORD normed_pos;
|
||||
FCOORD normed_pos(0.0f, 0.0f);
|
||||
int index = GatherPoints(outline, feature_length, denorm, root_denorm,
|
||||
start_index, end_index, &pos, &normed_pos,
|
||||
&points, &dirs);
|
||||
@ -366,7 +366,7 @@ static void ExtractFeaturesFromRun(
|
||||
// accumulators.
|
||||
LLSQ next_points;
|
||||
LLSQ next_dirs;
|
||||
FCOORD next_normed_pos;
|
||||
FCOORD next_normed_pos(0.0f, 0.0f);
|
||||
index = GatherPoints(outline, feature_length, denorm, root_denorm,
|
||||
index, end_index, &pos, &next_normed_pos,
|
||||
&next_points, &next_dirs);
|
||||
|
Loading…
Reference in New Issue
Block a user