0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0730: compiler warning for get_buf_arg() unused

Problem:    Compiler warning for get_buf_arg() unused.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar 2019-01-12 13:50:31 +01:00
parent 2b6185287a
commit ec9d3001cf
2 changed files with 4 additions and 0 deletions

View File

@ -1919,6 +1919,7 @@ tv_get_buf(typval_T *tv, int curtab_only)
return buf;
}
#ifdef FEAT_SIGNS
/*
* Get the buffer from "arg" and give an error and return NULL if it is not
* valid.
@ -1935,6 +1936,7 @@ get_buf_arg(typval_T *arg)
EMSG2(_("E158: Invalid buffer name: %s"), tv_get_string(arg));
return buf;
}
#endif
/*
* "bufname(expr)" function

View File

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