From 0c960c3cc5b74d0bd4aa13ce18495d56de52a3b8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 15 Sep 2019 14:25:48 +0200 Subject: [PATCH] Fix 1164647 (Uninitialized members) Signed-off-by: Stefan Weil --- src/ccstruct/werd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ccstruct/werd.h b/src/ccstruct/werd.h index 2fb71407..bfa139e2 100644 --- a/src/ccstruct/werd.h +++ b/src/ccstruct/werd.h @@ -171,10 +171,10 @@ class WERD : public ELIST2_LINK { bool* make_next_word_fuzzy); private: - uint8_t blanks; // no of blanks + uint8_t blanks = 0; // no of blanks BITS16 flags; // flags about word BITS16 disp_flags; // display flags - int16_t script_id_; // From unicharset. + int16_t script_id_ = 0; // From unicharset. STRING correct; // correct text C_BLOB_LIST cblobs; // compacted blobs C_BLOB_LIST rej_cblobs; // DUFF blobs