mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0523: more compiler warnings for arguments in small version
Problem: more compiler warnings for arguments in small version Solution: Adjust #ifdefs.
This commit is contained in:
parent
f64b75b1d9
commit
2d2e25b3e3
@ -391,6 +391,7 @@ handle_lnum_col(
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FEAT_PROP_POPUP) || defined(PROTO)
|
||||
/*
|
||||
* Return the cell size of virtual text after truncation.
|
||||
@ -1530,7 +1531,13 @@ win_line(
|
||||
{
|
||||
// Show the line number, if desired.
|
||||
wlv.draw_state = WL_NR;
|
||||
handle_lnum_col(wp, &wlv, sign_present, num_attr);
|
||||
handle_lnum_col(wp, &wlv,
|
||||
#ifdef FEAT_SIGNS
|
||||
sign_present, num_attr
|
||||
#else
|
||||
0, 0
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
#ifdef FEAT_LINEBREAK
|
||||
|
@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
523,
|
||||
/**/
|
||||
522,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user