]> granicus.if.org Git - vim/commitdiff
patch 9.0.0262: build failure without the +quickfix feature v9.0.0262
authorBram Moolenaar <Bram@vim.org>
Thu, 25 Aug 2022 12:54:16 +0000 (13:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 25 Aug 2022 12:54:16 +0000 (13:54 +0100)
Problem:    Build failure without the +quickfix feature.
Solution:   Add #ifdef.

src/buffer.c
src/version.c

index cfed0f327cd58c8d5a2b4a690a3b8b691b340c70..f2f32e1a6247c8bfd64170c6c271c4138c1489dd 100644 (file)
@@ -222,7 +222,9 @@ open_buffer(
 
     // Read the file if there is one.
     if (curbuf->b_ffname != NULL
+#ifdef FEAT_QUICKFIX
            && !bt_quickfix(curbuf)
+#endif
            && !bt_nofilename(curbuf)
 #ifdef FEAT_NETBEANS_INTG
            && netbeansReadFile
index 867d971746d3c717f288e91ef6703ff60ea7bf16..8ca27a523bad4680de7fd5a619b86cbeca9c26cf 100644 (file)
@@ -731,6 +731,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    262,
 /**/
     261,
 /**/