changeset 17145:26941c50baf3 v8.1.1572

patch 8.1.1572: compiler warnings with tiny build commit https://github.com/vim/vim/commit/e9726e31feafebf3548990b686b810900a0bff43 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 19 18:01:21 2019 +0200 patch 8.1.1572: compiler warnings with tiny build Problem: Compiler warnings with tiny build. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Jun 2019 18:15:05 +0200
parents 533daf563400
children cfec46e92979
files src/screen.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */
--- 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,