mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
spell: Silence V512: buffer underflow
This commit is contained in:
parent
4cb6317900
commit
aaab5e3900
@ -3633,7 +3633,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
|
||||
// word).
|
||||
depth = 0;
|
||||
sp = &stack[0];
|
||||
memset(sp, 0, sizeof(trystate_T));
|
||||
memset(sp, 0, sizeof(trystate_T)); // -V512
|
||||
sp->ts_curi = 1;
|
||||
|
||||
if (soundfold) {
|
||||
|
Loading…
Reference in New Issue
Block a user