changeset 8190:a8e7b8328cb4 v7.4.1388

commit https://github.com/vim/vim/commit/bdcd75275002c3b74015bb9bc0a01b13bb6107d4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 22 20:19:03 2016 +0100 patch 7.4.1388 Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable.
author Christian Brabandt <cb@256bit.org>
date Mon, 22 Feb 2016 20:30:05 +0100
parents 77978f1699bc
children 53aa32c78df1
files src/ex_cmds2.c src/version.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3058,14 +3058,12 @@ source_pack_plugin(char_u *fname, void *
     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
--- 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,