# HG changeset patch # User Bram Moolenaar # Date 1662296403 -7200 # Node ID b0a27cb13319909484d4e917dcf579a846f9fd53 # Parent 9ed8531024ec19e3daa9088ad6497cb42f89963b patch 9.0.0378: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/c1eb131c9eb38e00e08109f50e3e5337c072b71e Author: Bram Moolenaar Date: Sun Sep 4 13:45:15 2022 +0100 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 --- a/src/spellfile.c +++ b/src/spellfile.c @@ -841,7 +841,7 @@ read_cnt_string(FILE *fd, int cnt_bytes, 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 --- 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,