summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-04 13:45:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-04 13:45:15 +0100
commitc1eb131c9eb38e00e08109f50e3e5337c072b71e (patch)
tree57909f952f64e833317b65ebaa61dc9d3cbfbfe5
parenteb5adf19d15de4dd1d148954ac5345154f0fea60 (diff)
patch 9.0.0378: compiler warning for uninitialized variablev9.0.0378
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize it.
-rw-r--r--src/spellfile.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c
index 69b27ae919..d650f870eb 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;
diff --git a/src/version.c b/src/version.c
index 1f6ba8caa1..e53c1c0368 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 378,
+/**/
377,
/**/
376,