diff src/quickfix.c @ 17950:bb0e25a8b5d7 v8.1.1971

patch 8.1.1971: manually enabling features causes build errors Commit: https://github.com/vim/vim/commit/d570ab95d9ab0616f7d7cff59302617e612eae41 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 3 23:20:05 2019 +0200 patch 8.1.1971: manually enabling features causes build errors Problem: Manually enabling features causes build errors. (John Marriott) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Sep 2019 23:30:04 +0200
parents 079e10a49ea1
children 4cc8a1a134fc
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3381,9 +3381,7 @@ qf_jump_newwin(qf_info_T	*qi,
     int			prev_winid;
     int			opened_window = FALSE;
     int			print_message = TRUE;
-#ifdef FEAT_FOLDING
     int			old_KeyTyped = KeyTyped; // getting file may reset it
-#endif
     int			retval = OK;
 
     if (qi == NULL)
@@ -3427,7 +3425,7 @@ qf_jump_newwin(qf_info_T	*qi,
 	goto theend;
 
     retval = qf_jump_to_buffer(qi, qf_index, qf_ptr, forceit, prev_winid,
-	    &opened_window, old_KeyTyped, print_message);
+				  &opened_window, old_KeyTyped, print_message);
     if (retval == NOTDONE)
     {
 	// Quickfix/location list is freed by an autocmd