To: vim_dev@googlegroups.com Subject: Patch 8.2.4470 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4470 Problem: Coverity warns for uninitialized variable. Solution: Set can_spell to zero. Files: src/drawline.c *** ../vim-8.2.4469/src/drawline.c 2022-02-16 19:24:03.618162413 +0000 --- src/drawline.c 2022-02-25 21:04:28.382515257 +0000 *************** *** 330,336 **** #endif #ifdef FEAT_SPELL int has_spell = FALSE; // this buffer has spell checking ! int can_spell; # define SPWORDLEN 150 char_u nextline[SPWORDLEN * 2];// text with start of the next line int nextlinecol = 0; // column where nextline[] starts --- 330,336 ---- #endif #ifdef FEAT_SPELL int has_spell = FALSE; // this buffer has spell checking ! 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 *** ../vim-8.2.4469/src/version.c 2022-02-25 20:57:06.523021524 +0000 --- src/version.c 2022-02-25 21:05:13.714457504 +0000 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 4470, /**/ -- hundred-and-one symptoms of being an internet addict: 103. When you find yourself in the "Computer" section of Barnes & Noble enjoying yourself. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///