From a6c07603ca2fa98a4184f5fd5ab021adcf5156b2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 5 Mar 2017 21:18:27 +0100 Subject: patch 8.0.0425: build errors when building without folding Problem: Build errors when building without folding. Solution: Add #ifdefs. (John Marriott) --- src/syntax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/syntax.c') diff --git a/src/syntax.c b/src/syntax.c index 0d9cd2ced..11f679c0c 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1183,11 +1183,12 @@ syn_stack_free_block(synblock_T *block) void syn_stack_free_all(synblock_T *block) { +#ifdef FEAT_FOLDING win_T *wp; +#endif syn_stack_free_block(block); - #ifdef FEAT_FOLDING /* When using "syntax" fold method, must update all folds. */ FOR_ALL_WINDOWS(wp) -- cgit v1.2.1