diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-12 13:50:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-12 13:50:31 +0100 |
commit | ec9d3001cf6fb4ffe142d34762c774e0066de6bb (patch) | |
tree | 2b164d86e19a7f23376fe7843d30d14030bdbe39 /src | |
parent | 2b6185287adf53343ed5f49e967ae402c64063e4 (diff) | |
download | vim-git-ec9d3001cf6fb4ffe142d34762c774e0066de6bb.tar.gz |
patch 8.1.0730: compiler warning for get_buf_arg() unusedv8.1.0730
Problem: Compiler warning for get_buf_arg() unused.
Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src')
-rw-r--r-- | src/evalfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index a9a92d2ee..3f8e6152c 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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 diff --git a/src/version.c b/src/version.c index 118a867e5..7aeaa4869 100644 --- a/src/version.c +++ b/src/version.c @@ -796,6 +796,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 730, +/**/ 729, /**/ 728, |