mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-05 02:47:00 +08:00
Fix CID 1164611 (Uninitialized scalar field)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d16e518343
commit
19a99450bc
@ -134,7 +134,8 @@ Wordrec::Wordrec() :
|
|||||||
BOOL_MEMBER(save_alt_choices, true,
|
BOOL_MEMBER(save_alt_choices, true,
|
||||||
"Save alternative paths found during chopping"
|
"Save alternative paths found during chopping"
|
||||||
" and segmentation search",
|
" and segmentation search",
|
||||||
params()) {
|
params()),
|
||||||
|
pass2_ok_split(0.0f) {
|
||||||
prev_word_best_choice_ = nullptr;
|
prev_word_best_choice_ = nullptr;
|
||||||
language_model_.reset(new LanguageModel(&get_fontinfo_table(),
|
language_model_.reset(new LanguageModel(&get_fontinfo_table(),
|
||||||
&(getDict())));
|
&(getDict())));
|
||||||
|
Loading…
Reference in New Issue
Block a user