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:
@@ -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;
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user