diff options
author | lonerover <pathfinder1644@yahoo.com> | 2017-02-07 14:53:52 +0800 |
---|---|---|
committer | lonerover <pathfinder1644@yahoo.com> | 2017-02-07 15:02:15 +0800 |
commit | ca1b683f00a1edf7c5fe3e0bf000360da05db9bf (patch) | |
tree | 15f3f9d5aeeb4df00ebcc3a86ec2f289aa373d81 /src | |
parent | cca8d2751a238b7f64eec80fc74e786d358642ce (diff) | |
download | rneovim-ca1b683f00a1edf7c5fe3e0bf000360da05db9bf.tar.gz rneovim-ca1b683f00a1edf7c5fe3e0bf000360da05db9bf.tar.bz2 rneovim-ca1b683f00a1edf7c5fe3e0bf000360da05db9bf.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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, |