clang/'Logic error': zero-init struct

This commit is contained in:
Jan Edmund Lazo
2020-01-16 00:10:16 -05:00
parent d811fab0ad
commit 1042338c00
2 changed files with 3 additions and 3 deletions

View File

@@ -6145,8 +6145,8 @@ static void spell_soundfold_sal(slang_T *slang, char_u *inword, char_u *res)
static void spell_soundfold_wsal(slang_T *slang, char_u *inword, char_u *res)
{
salitem_T *smp = (salitem_T *)slang->sl_sal.ga_data;
int word[MAXWLEN];
int wres[MAXWLEN];
int word[MAXWLEN] = { 0 };
int wres[MAXWLEN] = { 0 };
int l;
int *ws;
int *pf;