From ca1b683f00a1edf7c5fe3e0bf000360da05db9bf Mon Sep 17 00:00:00 2001 From: lonerover Date: Tue, 7 Feb 2017 14:53:52 +0800 Subject: vim-patch:7.4.2106 Problem: Clang warns about missing field in initializer. Solution: Define COMMA and use it. (Kazunobu Kuriyama) https://github.com/vim/vim/commit/ac77aec4daea8d73468fcf4690cb4ccab1d807ed --- src/nvim/ex_cmds.c | 2 ++ src/nvim/version.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 3b7f3b7b97..4b3798794c 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -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 */ diff --git a/src/nvim/version.c b/src/nvim/version.c index e73b68b6e7..3b3c5a76d7 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -334,7 +334,7 @@ static int included_patches[] = { 2109, // 2108 NA // 2107, - // 2106, + 2106, // 2105 NA // 2104, 2103, -- cgit