Patch 9.0.0161
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize line_attr_save.
Files: src/drawline.c
*** ../vim-9.0.0160/src/drawline.c 2022-08-06 22:23:36.205601229 +0100
--- src/drawline.c 2022-08-06 22:34:13.136095663 +0100
***************
*** 588,594 ****
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
# define LINE_ATTR
int line_attr = 0; // attribute for the whole line
! int line_attr_save;
#endif
#ifdef FEAT_SIGNS
int sign_present = FALSE;
--- 588,594 ----
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
# define LINE_ATTR
int line_attr = 0; // attribute for the whole line
! int line_attr_save = 0;
#endif
#ifdef FEAT_SIGNS
int sign_present = FALSE;
*** ../vim-9.0.0160/src/version.c 2022-08-06 22:23:36.205601229 +0100
--- src/version.c 2022-08-06 22:37:46.196528656 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 161,
/**/
--
hundred-and-one symptoms of being an internet addict:
265. Your reason for not staying in touch with family is that
they do not have e-mail addresses.
/// 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/20220806213829.7FFE31C0EC3%40moolenaar.net.