summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-13 15:29:14 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-13 15:29:14 +0200
commit4ae209597c486d630be929d2865ea112da8bc842 (patch)
tree529135cf5e00e7230572e153eac287b41a29c61e
parente9d58a6459687a1228b5aa85bd7b31f8f1e528a8 (diff)
downloadvim-git-4ae209597c486d630be929d2865ea112da8bc842.tar.gz
patch 7.4.2206v7.4.2206
Problem: Warning for unused function. Solution: Put the function inside #ifdef. (John Marriott)
-rw-r--r--src/evalfunc.c6
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 379bc634f..ba6f0f597 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4699,12 +4699,10 @@ f_getline(typval_T *argvars, typval_T *rettv)
get_buffer_lines(curbuf, lnum, end, retlist, rettv);
}
-static void get_qf_loc_list(int is_qf, win_T *wp, typval_T *what_arg, typval_T *rettv);
-
+#ifdef FEAT_QUICKFIX
static void
get_qf_loc_list(int is_qf, win_T *wp, typval_T *what_arg, typval_T *rettv)
{
-#ifdef FEAT_QUICKFIX
if (what_arg->v_type == VAR_UNKNOWN)
{
if (rettv_list_alloc(rettv) == OK)
@@ -4727,8 +4725,8 @@ get_qf_loc_list(int is_qf, win_T *wp, typval_T *what_arg, typval_T *rettv)
EMSG(_(e_dictreq));
}
}
-#endif
}
+#endif
/*
* "getloclist()" function
diff --git a/src/version.c b/src/version.c
index dd7b4b735..bb6eaba24 100644
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2206,
+/**/
2205,
/**/
2204,