diff options
author | Bram Moolenaar <bram@vim.org> | 2012-03-07 22:52:36 +0100 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-03-07 22:52:36 +0100 |
commit | 183ebcd443820587c6f38340f4fa110fce529ff0 (patch) | |
tree | a91085dcd214975dd546ebf69991ef7132b9e50e | |
parent | 7b4403dabdc726b0dd690736fa01093f0479570c (diff) | |
download | vim-183ebcd443820587c6f38340f4fa110fce529ff0.tar.gz |
Problem: Compiler warning for unused argument without some features.
Solution: Add UNUSED.
-rw-r--r-- | src/buffer.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1b5ae9f9..5fda06d7 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -329,7 +329,7 @@ close_buffer(win, buf, action, abort_if_last) win_T *win; /* if not NULL, set b_last_cursor */ buf_T *buf; int action; - int abort_if_last; + int abort_if_last UNUSED; { #ifdef FEAT_AUTOCMD int is_curbuf; diff --git a/src/version.c b/src/version.c index 65ad51df..2932be8c 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 469, +/**/ 468, /**/ 467, |