mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1388
Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable.
This commit is contained in:
parent
8f8ae40ce4
commit
bdcd752750
@ -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,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user