mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0889: gcc gives warnings for uninitialized variables
Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck) Solution: Initialize variables even though they are not used.
This commit is contained in:
@@ -2145,7 +2145,11 @@ f_term_scrape(typval_T *argvars, typval_T *rettv)
|
||||
pos.row = get_row_number(&argvars[1], term);
|
||||
|
||||
if (term->tl_vterm != NULL)
|
||||
{
|
||||
screen = vterm_obtain_screen(term->tl_vterm);
|
||||
p = NULL;
|
||||
line = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
linenr_T lnum = pos.row + term->tl_scrollback_scrolled;
|
||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
889,
|
||||
/**/
|
||||
888,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user