From: Bram Moolenaar Date: Fri, 8 Nov 2019 20:56:57 +0000 (+0100) Subject: patch 8.1.2271: build error if FEAT_TAG_BINS is not defined X-Git-Tag: v8.1.2271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=398a59b6a51e86c23a5f61cb9a6d8a5771c95680;p=vim 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 ab79690ad..e3ad61663 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 bd442f5d6..5ceb36997 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2271, /**/ 2270, /**/