]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1388 v7.4.1388
authorBram Moolenaar <Bram@vim.org>
Mon, 22 Feb 2016 19:19:03 +0000 (20:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 22 Feb 2016 19:19:03 +0000 (20:19 +0100)
Problem:    Compiler warning. (Cesar Romani)
Solution:   Initialize variable.

src/ex_cmds2.c
src/version.c

index e26069d85ceb8372391bbb8110f1503aa9fbf6e3..9601409a71b90f268181f2aa3d84c2f02fab9bbd 100644 (file)
@@ -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
index 0357cf5974ccc20c98932b18e8ab71ffc9d22155..e2717b047465a469d7eb61ca9bcb3eaf84deb75f 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1388,
 /**/
     1387,
 /**/