0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.2106

Problem:    Clang warns about missing field in initializer.
Solution:   Define COMMA and use it.  (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2016-07-26 22:02:54 +02:00
parent eec2981bbe
commit ac77aec4da
4 changed files with 8 additions and 6 deletions

View File

@@ -4008,6 +4008,7 @@ do_ecmd(
}
vim_free(new_name);
au_new_curbuf.br_buf = NULL;
au_new_curbuf.br_buf_free_count = 0;
#endif
}
@@ -4389,6 +4390,7 @@ delbuf_msg(char_u *name)
name == NULL ? (char_u *)"" : name);
vim_free(name);
au_new_curbuf.br_buf = NULL;
au_new_curbuf.br_buf_free_count = 0;
}
#endif