From 340dafd155222ac96304107542344faf3c56e12b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 25 Aug 2022 16:16:45 +0100 Subject: patch 9.0.0266: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED. --- src/buffer.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 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'; diff --git a/src/version.c b/src/version.c index ac14bbd855..50294f8523 100644 --- a/src/version.c +++ b/src/version.c @@ -727,6 +727,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 266, /**/ 265, /**/ -- cgit v1.2.3