changeset 28401:d1982178f787 v8.2.4725

patch 8.2.4725: unused variable in tiny build Commit: https://github.com/vim/vim/commit/2ce97ae6aaec7007cca16a446d73161b82f2ba69 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 9 21:13:51 2022 +0100 patch 8.2.4725: unused variable in tiny build Problem: Unused variable in tiny build. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Apr 2022 22:15:04 +0200
parents 3f74103f4bb4
children 401c4206d38c
files src/normal.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -4197,7 +4197,9 @@ normal_search(
 {
     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;
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4725,
+/**/
     4724,
 /**/
     4723,