Patch 7.4.2065
Problem: Compiler warns for uninitialzed variable. (John Marriott)
Solution: Set lnum to the right value.
Files: src/evalfunc.c
*** ../vim-7.4.2064/src/evalfunc.c 2016-07-17 22:13:26.813095293 +0200
--- src/evalfunc.c 2016-07-17 22:31:14.302451011 +0200
***************
*** 3447,3458 ****
&& dashes != NULL)
{
/* Find first non-empty line in the fold. */
! while (lnum < (linenr_T)get_vim_var_nr(VV_FOLDEND))
! {
if (!linewhite(lnum))
break;
- ++lnum;
- }
/* Find interesting text in this line. */
s = skipwhite(ml_get(lnum));
--- 3447,3455 ----
&& dashes != NULL)
{
/* Find first non-empty line in the fold. */
! for (lnum = foldstart; lnum < foldend; ++lnum)
if (!linewhite(lnum))
break;
/* Find interesting text in this line. */
s = skipwhite(ml_get(lnum));
*** ../vim-7.4.2064/src/version.c 2016-07-17 22:25:31.601874049 +0200
--- src/version.c 2016-07-17 22:31:06.438529616 +0200
***************
*** 760,761 ****
--- 760,763 ----
{ /* Add new patch number below this line */
+ /**/
+ 2065,
/**/
--
"A mouse can be just as dangerous as a bullet or a bomb."
(US Representative Lamar Smith, R-Texas)
/// 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.