From e9726e31feafebf3548990b686b810900a0bff43 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 19 Jun 2019 18:01:21 +0200 Subject: [PATCH] patch 8.1.1572: compiler warnings with tiny build Problem: Compiler warnings with tiny build. (Tony Mechelynck) Solution: Add #ifdef. --- src/screen.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/screen.c b/src/screen.c index d2227a888..bbc311396 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 */ diff --git a/src/version.c b/src/version.c index 19b6aa76d..62ef11367 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1572, /**/ 1571, /**/ -- 2.40.0