changeset 20009:6eb3c91d9875 v8.2.0560

patch 8.2.0560: compiler warning in tiny build Commit: https://github.com/vim/vim/commit/2196bce56fcd56b0eaece50c079bac99f5bc31af Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 12 20:01:11 2020 +0200 patch 8.2.0560: compiler warning in tiny build Problem: Compiler warning in tiny build. Solution: Move declaration inside #ifdef. (Dominique Pelle, closes https://github.com/vim/vim/issues/5915)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Apr 2020 20:15:03 +0200
parents 19f7f65a8d40
children 7fa29447bc18
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -647,9 +647,9 @@ do_cmdline(
 # define cmd_cookie cookie
 #endif
     static int	call_depth = 0;		// recursiveness
+#ifdef FEAT_EVAL
     ESTACK_CHECK_DECLARATION
 
-#ifdef FEAT_EVAL
     // For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory
     // location for storing error messages to be converted to an exception.
     // This ensures that the do_errthrow() call in do_one_cmd() does not
@@ -1295,7 +1295,7 @@ do_cmdline(
 	/*
 	 * On an interrupt or an aborting error not converted to an exception,
 	 * disable the conversion of errors to exceptions.  (Interrupts are not
-	 * converted any more, here.) This enables also the interrupt message
+	 * converted anymore, here.) This enables also the interrupt message
 	 * when force_abort is set and did_emsg unset in case of an interrupt
 	 * from a finally clause after an error.
 	 */
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    560,
+/**/
     559,
 /**/
     558,