# HG changeset patch # User Bram Moolenaar # Date 1661441404 -7200 # Node ID 6bddfc49c35bd3efdf535757fe954049f8abd60c # Parent 57eb4648003ba6320a52fd82b528db04d6fad501 patch 9.0.0266: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/340dafd155222ac96304107542344faf3c56e12b Author: Bram Moolenaar Date: Thu Aug 25 16:16:45 2022 +0100 patch 9.0.0266: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED. diff --git a/src/buffer.c b/src/buffer.c --- 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 --- 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,