Patch 8.0.1803
Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.
Files:      src/terminal.c


*** ../vim-8.0.1802/src/terminal.c      2018-05-06 22:01:38.777570516 +0200
--- src/terminal.c      2018-05-07 20:08:36.408504146 +0200
***************
*** 4758,4764 ****
  f_term_gettty(typval_T *argvars, typval_T *rettv)
  {
      buf_T     *buf = term_get_buf(argvars, "term_gettty()");
!     char_u    *p;
      int               num = 0;
  
      rettv->v_type = VAR_STRING;
--- 4758,4764 ----
  f_term_gettty(typval_T *argvars, typval_T *rettv)
  {
      buf_T     *buf = term_get_buf(argvars, "term_gettty()");
!     char_u    *p = NULL;
      int               num = 0;
  
      rettv->v_type = VAR_STRING;
*** ../vim-8.0.1802/src/version.c       2018-05-06 22:01:38.781570492 +0200
--- src/version.c       2018-05-07 20:09:23.256201120 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1803,
  /**/

-- 
"Hegel was right when he said that we learn from history that man can
never learn anything from history."       (George Bernard Shaw)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui