summaryrefslogtreecommitdiff
path: root/src/spellfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellfile.c')
-rw-r--r--src/spellfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c
index 69b27ae91..d650f870e 100644
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -841,7 +841,7 @@ read_cnt_string(FILE *fd, int cnt_bytes, int *cntp)
read_region_section(FILE *fd, slang_T *lp, int len)
{
int i;
- int c;
+ int c = 0;
if (len > MAXREGIONS * 2)
return SP_FORMERROR;