# HG changeset patch # User Bram Moolenaar # Date 1645823703 -3600 # Node ID ec6756baed238c1ebea0521702cd5288962d8661 # Parent d2f9d6b0bb8d466841eb4f2cab759477f8ef1ffa patch 8.2.4470: Coverity warns for uninitialized variable Commit: https://github.com/vim/vim/commit/ae49aa8434f325f476245ccf5ef119f49c609877 Author: Bram Moolenaar Date: Fri Feb 25 21:05:36 2022 +0000 patch 8.2.4470: Coverity warns for uninitialized variable Problem: Coverity warns for uninitialized variable. Solution: Set can_spell to zero. diff --git a/src/drawline.c b/src/drawline.c --- a/src/drawline.c +++ b/src/drawline.c @@ -330,7 +330,7 @@ win_line( #endif #ifdef FEAT_SPELL int has_spell = FALSE; // this buffer has spell checking - int can_spell; + int can_spell = FALSE; # define SPWORDLEN 150 char_u nextline[SPWORDLEN * 2];// text with start of the next line int nextlinecol = 0; // column where nextline[] starts diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4470, +/**/ 4469, /**/ 4468,