mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1388
Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable.
This commit is contained in:
@@ -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
|
||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1388,
|
||||
/**/
|
||||
1387,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user