From ec9d3001cf6fb4ffe142d34762c774e0066de6bb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 12 Jan 2019 13:50:31 +0100 Subject: patch 8.1.0730: compiler warning for get_buf_arg() unused Problem: Compiler warning for get_buf_arg() unused. Solution: Add #ifdef. (John Marriott) --- src/evalfunc.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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 @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 730, /**/ 729, /**/ -- cgit v1.2.1