Skip to content

Commit bdcd752

Browse files
committed
patch 7.4.1388
Problem: Compiler warning. (Cesar Romani) Solution: Initialize variable.
1 parent 8f8ae40 commit bdcd752

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ex_cmds2.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3058,14 +3058,12 @@ source_pack_plugin(char_u *fname, void *cookie UNUSED)
30583058
int oldlen;
30593059
int addlen;
30603060

3061-
p4 = p3 = p2 = p1 = get_past_head(fname);
3061+
p6 = p5 = p4 = p3 = p2 = p1 = get_past_head(fname);
30623062
for (p = p1; *p; mb_ptr_adv(p))
3063-
{
30643063
if (vim_ispathsep_nocolon(*p))
30653064
{
30663065
p6 = p5; p5 = p4; p4 = p3; p3 = p2; p2 = p1; p1 = p;
30673066
}
3068-
}
30693067

30703068
/* now we have:
30713069
* rtp/pack/name/ever/name/plugin/name.vim

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1388,
751753
/**/
752754
1387,
753755
/**/

0 commit comments

Comments
 (0)