summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-25 16:16:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-25 16:16:45 +0100
commit340dafd155222ac96304107542344faf3c56e12b (patch)
tree7f078899872ba48371eaa4e63e33cc4ce99a0501 /src/buffer.c
parentf80f40a55ccff0a4331c5fbd1ac446511f622ed0 (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index cec2abbb2c..7286852812 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';