diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-06-09 02:20:34 -0400 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-07-05 10:31:17 +0300 |
commit | 8eb34701479565f2e37c847102183060e2ad90be (patch) | |
tree | c60b847d71e74cd2bc06f00bbecb6ce1f31c6e85 | |
parent | 03062b8db019453b3c7389e588f7d4075bd5219a (diff) | |
download | rneovim-8eb34701479565f2e37c847102183060e2ad90be.tar.gz rneovim-8eb34701479565f2e37c847102183060e2ad90be.tar.bz2 rneovim-8eb34701479565f2e37c847102183060e2ad90be.zip |
MSan: Initialize buffer in spell_delete_wordlist.
-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 63fc7b80a7..f312670a96 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -4116,7 +4116,7 @@ static int badword_captype(char_u *word, char_u *end) // Delete the internal wordlist and its .spl file. void spell_delete_wordlist(void) { - char_u fname[MAXPATHL]; + char_u fname[MAXPATHL] = {0}; if (int_wordlist != NULL) { os_remove((char *)int_wordlist); |