Problem: Coverity complains about uninitialized var, also gcc warns
about a few other variables possibly being used uninitialized
(Tony Mechelynck, after v9.2.0093)
Solution: Initialize a few other variables.
Coverity CID:
1683101
closes: #19561
Signed-off-by: Christian Brabandt <cb@256bit.org>
// Allow several hl_flags to be combined, like "bu" for
// bold-underlined.
attr = 0;
+ id = 0;
for ( ; *p && *p != ','; ++p) // parse up to comma
{
if (VIM_ISWHITE(*p)) // ignore white space
int c;
int len;
int attr_sel;
- int attr_nosel;
- int attr_fill;
+ int attr_nosel = 0;
+ int attr_fill = 0;
char_u *p;
int room;
int use_sep_chars = (t_colors < 8
{
int mouse_index_found = -1;
int keypad_index_found = -1;
- int keypad_slen_found;
+ int keypad_slen_found = 0;
for (idx = 0; idx < tc_len; ++idx)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 99,
/**/
98,
/**/