Fix CID 1164611 (Uninitialized scalar field)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2018-07-06 15:38:31 +02:00
parent d16e518343
commit 19a99450bc

View File

@ -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())));