summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-08 21:56:57 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-08 21:56:57 +0100
commit398a59b6a51e86c23a5f61cb9a6d8a5771c95680 (patch)
tree0ae5ff33aa9c1596f42afd5bf18e2c6b852d6ecf
parent0208b6b771161d1a668b3568f71dc2bde3614933 (diff)
patch 8.1.2271: build error if FEAT_TAG_BINS is not definedv8.1.2271
Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott) Solution: Add #ifdef.
-rw-r--r--src/tag.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index ab79690ada..e3ad616633 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -2242,9 +2242,11 @@ parse_line:
lbuf = alloc(lbuf_size);
if (lbuf == NULL)
goto findtag_end;
+#ifdef FEAT_TAG_BINS
// this will try the same thing again, make sure the offset is
// different
search_info.curr_offset = 0;
+#endif
continue;
}
diff --git a/src/version.c b/src/version.c
index bd442f5d6f..5ceb369976 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2271,
+/**/
2270,
/**/
2269,