From: Bram Moolenaar Date: Sun, 4 Sep 2022 12:45:15 +0000 (+0100) Subject: patch 9.0.0378: compiler warning for uninitialized variable X-Git-Tag: v9.0.0378 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1eb131c9eb38e00e08109f50e3e5337c072b71e;p=thirdparty%2Fvim.git 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 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 @@ -703,6 +703,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 378, /**/ 377, /**/