diff options
author | ZyX <kp-pav@yandex.ru> | 2017-07-04 17:31:45 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-07-04 18:37:02 +0300 |
commit | aaab5e39005ab5a1273092ae4cef7f1a27a5097a (patch) | |
tree | 77edec64ea647e54f0acdbcd3b076a52e77eb5a0 /src | |
parent | 4cb63179008efbbef2f4134da448ae5bd7251281 (diff) | |
download | rneovim-aaab5e39005ab5a1273092ae4cef7f1a27a5097a.tar.gz rneovim-aaab5e39005ab5a1273092ae4cef7f1a27a5097a.tar.bz2 rneovim-aaab5e39005ab5a1273092ae4cef7f1a27a5097a.zip |
spell: Silence V512: buffer underflow
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 5785ee1a00..715228cb4b 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -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) { |