commit | c1eb131c9eb38e00e08109f50e3e5337c072b71e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Sep 04 13:45:15 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Sep 04 13:45:15 2022 +0100 |
tree | 57909f952f64e833317b65ebaa61dc9d3cbfbfe5 | |
parent | eb5adf19d15de4dd1d148954ac5345154f0fea60 [diff] [blame] |
patch 9.0.0378: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize it.
diff --git a/src/spellfile.c b/src/spellfile.c index 69b27ae..d650f87 100644 --- a/src/spellfile.c +++ b/src/spellfile.c
@@ -841,7 +841,7 @@ read_region_section(FILE *fd, slang_T *lp, int len) { int i; - int c; + int c = 0; if (len > MAXREGIONS * 2) return SP_FORMERROR;