Patch 8.2.4468
Problem:    Coverity warns for uninitialized struct member.
Solution:   Set color.index to zero.
Files:      src/terminal.c


*** ../vim-8.2.4467/src/terminal.c      2022-01-20 14:57:18.280528244 +0000
--- src/terminal.c      2022-02-25 20:44:40.439303147 +0000
***************
*** 4193,4198 ****
--- 4193,4199 ----
        color.red = (unsigned)(rgb[index] >> 16);
        color.green = (unsigned)(rgb[index] >> 8) & 255;
        color.blue = (unsigned)rgb[index] & 255;
+       color.index = 0;
        vterm_state_set_palette_color(state, index, &color);
      }
  }
*** ../vim-8.2.4467/src/version.c       2022-02-25 17:40:59.319948279 +0000
--- src/version.c       2022-02-25 20:47:50.271353327 +0000
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     4468,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
102. When filling out your driver's license application, you give
     your IP address.

 /// 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/20220225204902.E6F041C1149%40moolenaar.net.

Raspunde prin e-mail lui