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 -- Br...@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 ///