1
0
forked from aniani/vim

patch 8.0.1803: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar
2018-05-07 20:10:17 +02:00
parent 402c83921e
commit 9b50f36e40
2 changed files with 3 additions and 1 deletions

View File

@@ -4758,7 +4758,7 @@ f_term_gettitle(typval_T *argvars, typval_T *rettv)
f_term_gettty(typval_T *argvars, typval_T *rettv) f_term_gettty(typval_T *argvars, typval_T *rettv)
{ {
buf_T *buf = term_get_buf(argvars, "term_gettty()"); buf_T *buf = term_get_buf(argvars, "term_gettty()");
char_u *p; char_u *p = NULL;
int num = 0; int num = 0;
rettv->v_type = VAR_STRING; rettv->v_type = VAR_STRING;

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1803,
/**/ /**/
1802, 1802,
/**/ /**/