aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d52961b799..1a173cb8df 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -2061,7 +2061,7 @@ spell_move_to (
char_u *line;
char_u *p;
char_u *endp;
- hlf_T attr;
+ hlf_T attr = HLF_COUNT;
int len;
int has_syntax = syntax_present(wp);
int col;