summaryrefslogtreecommitdiffstats
path: root/src/tag.c
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 /src/tag.c
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.
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 2 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;
}