commit | 2ce97ae6aaec7007cca16a446d73161b82f2ba69 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 09 21:13:51 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 09 21:13:51 2022 +0100 |
tree | 0a224357d3799b92561f35cf5ebeb5ec3dae9ad7 | |
parent | a43993897aa372159f682df37562f159994dc85c [diff] [blame] |
patch 8.2.4725: unused variable in tiny build Problem: Unused variable in tiny build. Solution: Add #ifdef.
diff --git a/src/normal.c b/src/normal.c index b5b0448..5634925 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -4197,7 +4197,9 @@ { int i; searchit_arg_T sia; +#ifdef FEAT_SEARCH_EXTRA pos_T prev_cursor = curwin->w_cursor; +#endif cap->oap->motion_type = MCHAR; cap->oap->inclusive = FALSE;