Patch 8.0.0889
Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize variables even though they are not used.
Files: src/terminal.c
*** ../vim-8.0.0888/src/terminal.c 2017-08-07 20:38:38.596341530 +0200
--- src/terminal.c 2017-08-07 21:24:20.868275089 +0200
***************
*** 2145,2151 ****
--- 2145,2155 ----
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;
*** ../vim-8.0.0888/src/version.c 2017-08-07 21:17:53.115100890 +0200
--- src/version.c 2017-08-07 21:25:25.763802095 +0200
***************
*** 771,772 ****
--- 771,774 ----
{ /* Add new patch number below this line */
+ /**/
+ 889,
/**/
--
Arthur pulls Pin out. The MONK blesses the grenade as ...
ARTHUR: (quietly) One, two, five ...
GALAHAD: Three, sir!
ARTHUR: Three.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.