Patch 8.2.0560
Problem:    Compiler warning in tiny build.
Solution:   Move declaration inside #ifdef. (Dominique Pelle, closes #5915)
Files:      src/ex_docmd.c


*** ../vim-8.2.0559/src/ex_docmd.c      2020-04-12 19:37:13.510297280 +0200
--- src/ex_docmd.c      2020-04-12 20:00:48.798684111 +0200
***************
*** 647,655 ****
  # define cmd_cookie cookie
  #endif
      static int        call_depth = 0;         // recursiveness
      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
--- 647,655 ----
  # define cmd_cookie cookie
  #endif
      static int        call_depth = 0;         // recursiveness
+ #ifdef FEAT_EVAL
      ESTACK_CHECK_DECLARATION
  
      // 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,1301 ****
        /*
         * 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
         * when force_abort is set and did_emsg unset in case of an interrupt
         * from a finally clause after an error.
         */
--- 1295,1301 ----
        /*
         * On an interrupt or an aborting error not converted to an exception,
         * disable the conversion of errors to exceptions.  (Interrupts are not
!        * 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.
         */
*** ../vim-8.2.0559/src/version.c       2020-04-12 19:37:13.530297225 +0200
--- src/version.c       2020-04-12 19:58:27.063044420 +0200
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     560,
  /**/

-- 
A M00se once bit my sister ...
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202004121803.03CI3Iq2006445%40masaka.moolenaar.net.

Raspunde prin e-mail lui