commit | 2e6dcbc4450c98bd12faace5d77a65f2afddae44 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 25 13:54:16 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 25 13:54:16 2022 +0100 |
tree | 5de99be345a8a01e89673b53c1d2bc114090457c | |
parent | 2eddbacd6dc17c84e4bdc41e60e81949a36bb973 [diff] [blame] |
patch 9.0.0262: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. Solution: Add #ifdef.
diff --git a/src/buffer.c b/src/buffer.c index cfed0f3..f2f32e1 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -222,7 +222,9 @@ // 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