mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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
|
||||
|
Reference in New Issue
Block a user