summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-22 20:19:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-22 20:19:03 +0100
commitbdcd75275002c3b74015bb9bc0a01b13bb6107d4 (patch)
tree5a26651b2f0934a66b5395ffddd601b6aa0300e4
parent8f8ae40ce45822c51c7f3cc58d7c23990f0ecc3d (diff)
patch 7.4.1388v7.4.1388
Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable.
-rw-r--r--src/ex_cmds2.c4
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index e26069d85c..9601409a71 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3058,14 +3058,12 @@ source_pack_plugin(char_u *fname, void *cookie UNUSED)
int oldlen;
int addlen;
- p4 = p3 = p2 = p1 = get_past_head(fname);
+ p6 = p5 = p4 = p3 = p2 = p1 = get_past_head(fname);
for (p = p1; *p; mb_ptr_adv(p))
- {
if (vim_ispathsep_nocolon(*p))
{
p6 = p5; p5 = p4; p4 = p3; p3 = p2; p2 = p1; p1 = p;
}
- }
/* now we have:
* rtp/pack/name/ever/name/plugin/name.vim
diff --git a/src/version.c b/src/version.c
index 0357cf5974..e2717b0474 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1388,
+/**/
1387,
/**/
1386,