summaryrefslogtreecommitdiff
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
parentf80f40a55ccff0a4331c5fbd1ac446511f622ed0 (diff)
downloadvim-git-340dafd155222ac96304107542344faf3c56e12b.tar.gz
patch 9.0.0266: compiler warning for unused argumentv9.0.0266
Problem: Compiler warning for unused argument. Solution: Add UNUSED.
-rw-r--r--src/buffer.c4
-rw-r--r--src/version.c2
2 files changed, 4 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';
diff --git a/src/version.c b/src/version.c
index ac14bbd85..50294f852 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 266,
+/**/
265,
/**/
264,