summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-25 13:54:16 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-25 13:54:16 +0100
commit2e6dcbc4450c98bd12faace5d77a65f2afddae44 (patch)
tree5de99be345a8a01e89673b53c1d2bc114090457c /src/buffer.c
parent2eddbacd6dc17c84e4bdc41e60e81949a36bb973 (diff)
patch 9.0.0262: build failure without the +quickfix featurev9.0.0262
Problem: Build failure without the +quickfix feature. Solution: Add #ifdef.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index cfed0f327c..f2f32e1a62 100644
--- 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