]> granicus.if.org Git - vim/commitdiff
patch 8.1.2271: build error if FEAT_TAG_BINS is not defined v8.1.2271
authorBram Moolenaar <Bram@vim.org>
Fri, 8 Nov 2019 20:56:57 +0000 (21:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 8 Nov 2019 20:56:57 +0000 (21:56 +0100)
Problem:    Build error if FEAT_TAG_BINS is not defined. (John Marriott)
Solution:   Add #ifdef.

src/tag.c
src/version.c

index ab79690adaa5d03e9f1d5776bbd481ba52a114f6..e3ad616633446387bb5df7d9f0748dbc4850c157 100644 (file)
--- 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;
            }
 
index bd442f5d6fcf63c9c4fdc509148678771459fd8e..5ceb369976427dde91f11baceb1bb77b1f242779 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2271,
 /**/
     2270,
 /**/