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