mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -5651,7 +5651,7 @@ bt_normal(buf_T *buf)
|
|||||||
* Return TRUE if "buf" is the quickfix buffer.
|
* Return TRUE if "buf" is the quickfix buffer.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
bt_quickfix(buf_T *buf)
|
bt_quickfix(buf_T *buf UNUSED)
|
||||||
{
|
{
|
||||||
#ifdef FEAT_QUICKFIX
|
#ifdef FEAT_QUICKFIX
|
||||||
return buf != NULL && buf->b_p_bt[0] == 'q';
|
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.
|
* Return TRUE if "buf" is a terminal buffer.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
bt_terminal(buf_T *buf)
|
bt_terminal(buf_T *buf UNUSED)
|
||||||
{
|
{
|
||||||
#if defined(FEAT_TERMINAL)
|
#if defined(FEAT_TERMINAL)
|
||||||
return buf != NULL && buf->b_p_bt[0] == 't';
|
return buf != NULL && buf->b_p_bt[0] == 't';
|
||||||
|
@@ -727,6 +727,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
266,
|
||||||
/**/
|
/**/
|
||||||
265,
|
265,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user