summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-19 18:01:21 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-19 18:01:21 +0200
commite9726e31feafebf3548990b686b810900a0bff43 (patch)
tree8fe1aa71e8819ec1303346ac6cd881659e71fa27 /src/screen.c
parenta956bf6ca34896c3f242bf726b709a725f9053ce (diff)
downloadvim-git-e9726e31feafebf3548990b686b810900a0bff43.tar.gz
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/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
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 */