mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4405: compiler warning for unused variable without +folding
Problem: Compiler warning for unused variable without the +folding feature. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -552,8 +552,9 @@ changed_common(
|
|||||||
{
|
{
|
||||||
if (wp->w_buffer == curbuf)
|
if (wp->w_buffer == curbuf)
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_FOLDING
|
||||||
linenr_T last = lnume + xtra - 1; // last line after the change
|
linenr_T last = lnume + xtra - 1; // last line after the change
|
||||||
|
#endif
|
||||||
// Mark this window to be redrawn later.
|
// Mark this window to be redrawn later.
|
||||||
if (wp->w_redr_type < VALID)
|
if (wp->w_redr_type < VALID)
|
||||||
wp->w_redr_type = VALID;
|
wp->w_redr_type = VALID;
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4405,
|
||||||
/**/
|
/**/
|
||||||
4404,
|
4404,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user