mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
patch 9.0.0161: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize line_attr_save.
This commit is contained in:
@@ -588,7 +588,7 @@ win_line(
|
||||
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
|
||||
# define LINE_ATTR
|
||||
int line_attr = 0; // attribute for the whole line
|
||||
int line_attr_save;
|
||||
int line_attr_save = 0;
|
||||
#endif
|
||||
#ifdef FEAT_SIGNS
|
||||
int sign_present = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user