mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 22:38:33 +00:00
LookupDict2: Check if flags is not null before setting it. [msvc /analyze]
This commit is contained in:
@@ -2822,7 +2822,7 @@ static const char *LookupDict2(Translator *tr, const char *word, const char *wor
|
||||
}
|
||||
|
||||
ix = utf8_in(&c, word);
|
||||
if ((word[ix] == 0) && !IsAlpha(c))
|
||||
if (flags != NULL && (word[ix] == 0) && !IsAlpha(c))
|
||||
flags[0] |= FLAG_MAX3;
|
||||
return word_end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user