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
index a9a92d2..3f8e615 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -1919,6 +1919,7 @@
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 @@
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 118a867..7aeaa48 100644
--- a/src/version.c
+++ b/src/version.c
@@ -796,6 +796,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 730,
+/**/
729,
/**/
728,