aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-07-05 10:31:17 +0300
committerFlorian Walch <florian@fwalch.com>2015-07-05 10:31:17 +0300
commit53053381674b1cca4c60c3657f31ea05fd935278 (patch)
tree235c42c492b3246c1abc6ac2a753d32a0d50924e /src/nvim/spell.c
parent1d9501186c2e97c3ea9004e86ff6744fef9ef957 (diff)
parent24dc42e7e5829978abc132f2844e537244ba43bd (diff)
downloadrneovim-53053381674b1cca4c60c3657f31ea05fd935278.tar.gz
rneovim-53053381674b1cca4c60c3657f31ea05fd935278.tar.bz2
rneovim-53053381674b1cca4c60c3657f31ea05fd935278.zip
Merge #2807 'Travis: Add Clang MSan/TSan builds'.
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
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);