Permalink
Browse files

patch 8.0.1803: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.
  • Loading branch information...
brammool committed May 7, 2018
1 parent 402c839 commit 9b50f36e405309be97e28b5e19d81ff0902c5224
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/terminal.c
  2. +2 −0 src/version.c
@@ -4758,7 +4758,7 @@ f_term_gettitle(typval_T *argvars, typval_T *rettv)
f_term_gettty(typval_T *argvars, typval_T *rettv)
{
buf_T *buf = term_get_buf(argvars, "term_gettty()");
char_u *p;
char_u *p = NULL;
int num = 0;
rettv->v_type = VAR_STRING;
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1803,
/**/
1802,
/**/

0 comments on commit 9b50f36

Please sign in to comment.