mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
MSan: Initialize buffer in spell_delete_wordlist.
This commit is contained in:
parent
03062b8db0
commit
8eb3470147
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user