diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-26 22:02:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-26 22:02:54 +0200 |
commit | ac77aec4daea8d73468fcf4690cb4ccab1d807ed (patch) | |
tree | 5ab80634ba81c489585b0399292ccde96c97e898 /src/ex_cmds.c | |
parent | eec2981bbee42411044800bc23731ebcc82b5b66 (diff) | |
download | vim-git-ac77aec4daea8d73468fcf4690cb4ccab1d807ed.tar.gz |
patch 7.4.2106v7.4.2106
Problem: Clang warns about missing field in initializer.
Solution: Define COMMA and use it. (Kazunobu Kuriyama)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 7d8196cdc..2afa5e733 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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 |