]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4725: unused variable in tiny build v8.2.4725
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Apr 2022 20:13:51 +0000 (21:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Apr 2022 20:13:51 +0000 (21:13 +0100)
Problem:    Unused variable in tiny build.
Solution:   Add #ifdef.

src/normal.c
src/version.c

index b5b04484385027dc4e61ef9ce6d4802b6f801a5b..563492551372cefdba5aec58232a83cd0fd84958 100644 (file)
@@ -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;
index ecf846152bd14f2443b5e10f672d6ab570cc8c80..740c32d482dc2ddc11ec113fb413704693f6dc77 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4725,
 /**/
     4724,
 /**/