0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.1572: compiler warnings with tiny build

Problem:    Compiler warnings with tiny build. (Tony Mechelynck)
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2019-06-19 18:01:21 +02:00
parent a956bf6ca3
commit e9726e31fe
2 changed files with 4 additions and 0 deletions

View File

@@ -3253,8 +3253,10 @@ win_line(
int mb_c = 0; /* decoded multi-byte character */
int mb_utf8 = FALSE; /* screen char is UTF-8 char */
int u8cc[MAX_MCO]; /* composing UTF-8 chars */
#if defined(FEAT_DIFF) || defined(FEAT_SIGNS)
int filler_lines = 0; /* nr of filler lines to be drawn */
int filler_todo = 0; /* nr of filler lines still to do + 1 */
#endif
#ifdef FEAT_DIFF
hlf_T diff_hlf = (hlf_T)0; /* type of diff highlighting */
int change_start = MAXCOL; /* first col of changed area */

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1572,
/**/
1571,
/**/