diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-19 18:01:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-19 18:01:21 +0200 |
commit | e9726e31feafebf3548990b686b810900a0bff43 (patch) | |
tree | 8fe1aa71e8819ec1303346ac6cd881659e71fa27 /src | |
parent | a956bf6ca34896c3f242bf726b709a725f9053ce (diff) |
patch 8.1.1572: compiler warnings with tiny buildv8.1.1572
Problem: Compiler warnings with tiny build. (Tony Mechelynck)
Solution: Add #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/screen.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index d2227a8884..bbc3113963 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 19b6aa76d5..62ef113670 100644 --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1572, +/**/ 1571, /**/ 1570, |