diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:16:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:16:45 +0100 |
commit | 340dafd155222ac96304107542344faf3c56e12b (patch) | |
tree | 7f078899872ba48371eaa4e63e33cc4ce99a0501 /src/buffer.c | |
parent | f80f40a55ccff0a4331c5fbd1ac446511f622ed0 (diff) | |
download | vim-git-340dafd155222ac96304107542344faf3c56e12b.tar.gz |
patch 9.0.0266: compiler warning for unused argumentv9.0.0266
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index cec2abbb2..728685281 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5651,7 +5651,7 @@ bt_normal(buf_T *buf) * Return TRUE if "buf" is the quickfix buffer. */ int -bt_quickfix(buf_T *buf) +bt_quickfix(buf_T *buf UNUSED) { #ifdef FEAT_QUICKFIX return buf != NULL && buf->b_p_bt[0] == 'q'; @@ -5664,7 +5664,7 @@ bt_quickfix(buf_T *buf) * Return TRUE if "buf" is a terminal buffer. */ int -bt_terminal(buf_T *buf) +bt_terminal(buf_T *buf UNUSED) { #if defined(FEAT_TERMINAL) return buf != NULL && buf->b_p_bt[0] == 't'; |