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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220225210744.0CECD1C1149%40moolenaar.net.

Raspunde prin e-mail lui