patch 8.1.2271: build error if FEAT_TAG_BINS is not defined
Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott)
Solution: Add #ifdef.
diff --git a/src/tag.c b/src/tag.c
index ab79690..e3ad616 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -2242,9 +2242,11 @@
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 bd442f5..5ceb369 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2271,
+/**/
2270,
/**/
2269,