vim-patch:7.4.2106

Problem:    Clang warns about missing field in initializer.
Solution:   Define COMMA and use it.  (Kazunobu Kuriyama)

ac77aec4da
This commit is contained in:
lonerover 2017-02-07 14:53:52 +08:00
parent cca8d2751a
commit ca1b683f00
2 changed files with 3 additions and 1 deletions

View File

@ -2340,6 +2340,7 @@ int do_ecmd(
}
xfree(new_name);
au_new_curbuf.br_buf = NULL;
au_new_curbuf.br_buf_free_count = 0;
}
curwin->w_pcmark.lnum = 1;
@ -2625,6 +2626,7 @@ static void delbuf_msg(char_u *name)
name == NULL ? (char_u *)"" : name);
xfree(name);
au_new_curbuf.br_buf = NULL;
au_new_curbuf.br_buf_free_count = 0;
}
static int append_indent = 0; /* autoindent for first line */

View File

@ -334,7 +334,7 @@ static int included_patches[] = {
2109,
// 2108 NA
// 2107,
// 2106,
2106,
// 2105 NA
// 2104,
2103,