Patch 8.2.4405
Problem:    Compiler warning for unused variable without the +folding feature.
            (Tony Mechelynck)
Solution:   Add #ifdef.
Files:      src/change.c


*** ../vim-8.2.4404/src/change.c        2022-02-16 20:30:47.948098690 +0000
--- src/change.c        2022-02-16 21:49:40.014243855 +0000
***************
*** 552,559 ****
      {
        if (wp->w_buffer == curbuf)
        {
            linenr_T last = lnume + xtra - 1;  // last line after the change
! 
            // Mark this window to be redrawn later.
            if (wp->w_redr_type < VALID)
                wp->w_redr_type = VALID;
--- 552,560 ----
      {
        if (wp->w_buffer == curbuf)
        {
+ #ifdef FEAT_FOLDING
            linenr_T last = lnume + xtra - 1;  // last line after the change
! #endif
            // Mark this window to be redrawn later.
            if (wp->w_redr_type < VALID)
                wp->w_redr_type = VALID;
*** ../vim-8.2.4404/src/version.c       2022-02-16 21:48:20.966418934 +0000
--- src/version.c       2022-02-16 21:50:39.306114351 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4405,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
54. You start tilting your head sideways to smile. :-)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220216215224.375051C0FEC%40moolenaar.net.

Raspunde prin e-mail lui