]> granicus.if.org Git - vim/commitdiff
patch 8.2.0560: compiler warning in tiny build v8.2.0560
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Apr 2020 18:01:11 +0000 (20:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Apr 2020 18:01:11 +0000 (20:01 +0200)
Problem:    Compiler warning in tiny build.
Solution:   Move declaration inside #ifdef. (Dominique Pelle, closes #5915)

src/ex_docmd.c
src/version.c

index d979f43efcf548e2a4be729a9d6c8ecb239faaca..1cc231deedfd97849aaba8426bbd0c3728d23b7e 100644 (file)
@@ -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.
         */
index f9d8a5a82c4cbc477964eea0ad747ef99af8a63d..3ef50fb7e23b6471fcef5548ed5e3dc664eff8fa 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    560,
 /**/
     559,
 /**/