Skip to content

Commit 73d84b6

Browse files
Caolán McNamaraCaolán McNamara
Caolán McNamara
authored and
Caolán McNamara
committed
fix recently regressed uninit variable
1 parent 5039b87 commit 73d84b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hunspell/affixmgr.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ struct hentry* AffixMgr::compound_check(const std::string& word,
15811581
char ch = '\0', affixed;
15821582
int cmin, cmax, striple = 0, soldi = 0, oldcmin = 0, oldcmax = 0, oldlen = 0, checkedstriple = 0;
15831583
hentry** oldwords = words;
1584-
size_t scpd, len = word.size();
1584+
size_t scpd = 0, len = word.size();
15851585

15861586
int checked_prefix;
15871587

0 commit comments

Comments
 (0)