Browse Source

LookupDict2: Check if flags is not null before setting it. [msvc /analyze]

master
Reece H. Dunn 7 years ago
parent
commit
36c29c479a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/dictionary.c

+ 1
- 1
src/libespeak-ng/dictionary.c View File

} }


ix = utf8_in(&c, word); ix = utf8_in(&c, word);
if ((word[ix] == 0) && !IsAlpha(c))
if (flags != NULL && (word[ix] == 0) && !IsAlpha(c))
flags[0] |= FLAG_MAX3; flags[0] |= FLAG_MAX3;
return word_end; return word_end;



Loading…
Cancel
Save