summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-09 21:13:51 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-09 21:13:51 +0100
commit2ce97ae6aaec7007cca16a446d73161b82f2ba69 (patch)
tree0a224357d3799b92561f35cf5ebeb5ec3dae9ad7
parenta43993897aa372159f682df37562f159994dc85c (diff)
patch 8.2.4725: unused variable in tiny buildv8.2.4725
Problem: Unused variable in tiny build. Solution: Add #ifdef.
-rw-r--r--src/normal.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index b5b0448438..5634925513 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index ecf846152b..740c32d482 100644
--- 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,