0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.1.2284: compiler warning for unused variable

Problem:    Compiler warning for unused variable. (Tony Mechelynck)
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2019-11-10 01:32:12 +01:00
parent 91e22eb6e0
commit 439b3aca37
2 changed files with 4 additions and 0 deletions

View File

@@ -988,7 +988,9 @@ curs_columns(
/* long line wrapping, adjust curwin->w_wrow */ /* long line wrapping, adjust curwin->w_wrow */
if (curwin->w_wcol >= curwin->w_width) if (curwin->w_wcol >= curwin->w_width)
{ {
#ifdef FEAT_LINEBREAK
char_u *sbr; char_u *sbr;
#endif
/* this same formula is used in validate_cursor_col() */ /* this same formula is used in validate_cursor_col() */
n = (curwin->w_wcol - curwin->w_width) / width + 1; n = (curwin->w_wcol - curwin->w_width) / width + 1;

View File

@@ -741,6 +741,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 */
/**/
2284,
/**/ /**/
2283, 2283,
/**/ /**/