changeset 29847:2ed5e06e7285 v9.0.0262

patch 9.0.0262: build failure without the +quickfix feature Commit: https://github.com/vim/vim/commit/2e6dcbc4450c98bd12faace5d77a65f2afddae44 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 25 13:54:16 2022 +0100 patch 9.0.0262: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Aug 2022 15:00:04 +0200
parents 28b7acdab155
children cd89b592bcc9
files src/buffer.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -732,6 +732,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    262,
+/**/
     261,
 /**/
     260,