0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0266: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.
This commit is contained in:
Bram Moolenaar
2022-08-25 16:16:45 +01:00
parent f80f40a55c
commit 340dafd155
2 changed files with 4 additions and 2 deletions

View File

@@ -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';

View File

@@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
266,
/**/
265,
/**/