# HG changeset patch # User Bram Moolenaar # Date 1547298004 -3600 # Node ID b6224857db6f83a98a633f04bb3826001a2676fe # Parent c36361e6f20611b9bf042fc454e584ccd251aa36 patch 8.1.0730: compiler warning for get_buf_arg() unused commit https://github.com/vim/vim/commit/ec9d3001cf6fb4ffe142d34762c774e0066de6bb Author: Bram Moolenaar Date: Sat Jan 12 13:50:31 2019 +0100 patch 8.1.0730: compiler warning for get_buf_arg() unused Problem: Compiler warning for get_buf_arg() unused. Solution: Add #ifdef. (John Marriott) diff --git a/src/evalfunc.c b/src/evalfunc.c --- 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 --- 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,