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:
@@ -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;
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user