Skip to content

Commit 19a9945

Browse files
committed
Fix CID 1164611 (Uninitialized scalar field)
Signed-off-by: Stefan Weil <[email protected]>
1 parent d16e518 commit 19a9945

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wordrec/wordrec.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ Wordrec::Wordrec() :
134134
BOOL_MEMBER(save_alt_choices, true,
135135
"Save alternative paths found during chopping"
136136
" and segmentation search",
137-
params()) {
137+
params()),
138+
pass2_ok_split(0.0f) {
138139
prev_word_best_choice_ = nullptr;
139140
language_model_.reset(new LanguageModel(&get_fontinfo_table(),
140141
&(getDict())));

0 commit comments

Comments
 (0)