changeset 31049:bee731901f4f v9.0.0859

patch 9.0.0859: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/fd3084b6e298477dec4979515c6b4a8a3c3beeb2 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 11 01:40:48 2022 +0000 patch 9.0.0859: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Nov 2022 02:45:06 +0100
parents 11b4fe4414c6
children 00bee28a0c00
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4308,8 +4308,9 @@ get_address(
     lnum = MAXLNUM;
     do
     {
+#ifdef FEAT_FOLDING
 	int base_char = *cmd;
-
+#endif
 	switch (*cmd)
 	{
 	    case '.':			    // '.' - Cursor position
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    859,
+/**/
     858,
 /**/
     857,