From 2e6dcbc4450c98bd12faace5d77a65f2afddae44 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 25 Aug 2022 13:54:16 +0100 Subject: [PATCH] patch 9.0.0262: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. Solution: Add #ifdef. --- src/buffer.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/buffer.c b/src/buffer.c index cfed0f327..f2f32e1a6 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 diff --git a/src/version.c b/src/version.c index 867d97174..8ca27a523 100644 --- a/src/version.c +++ b/src/version.c @@ -731,6 +731,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 262, /**/ 261, /**/ -- 2.40.0