patch 7.4.2065
Problem: Compiler warns for uninitialzed variable. (John Marriott)
Solution: Set lnum to the right value.
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 7d3f875..07c7575 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -3447,12 +3447,9 @@
&& dashes != NULL)
{
/* Find first non-empty line in the fold. */
- while (lnum < (linenr_T)get_vim_var_nr(VV_FOLDEND))
- {
+ for (lnum = foldstart; lnum < foldend; ++lnum)
if (!linewhite(lnum))
break;
- ++lnum;
- }
/* Find interesting text in this line. */
s = skipwhite(ml_get(lnum));
diff --git a/src/version.c b/src/version.c
index e1fcaca..8ebd309 100644
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2065,
+/**/
2064,
/**/
2063,