From b4d9b893d3c7af24b5adf4ae0475ada32d36f5ad Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 4 Jul 2019 22:59:06 +0200 Subject: [PATCH] patch 8.1.1635: warnings for unused variables in small version Problem: Warnings for unused variables in small version. (John Marriott) Solution: Adjust #ifdefs. --- src/screen.c | 6 ++++-- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/screen.c b/src/screen.c index d6761c85fb..58866bf48a 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3265,11 +3265,13 @@ win_line( #endif #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \ || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) - int sign_present = FALSE; - sign_attrs_T sattr; # define LINE_ATTR int line_attr = 0; /* attribute for the whole line */ #endif +#ifdef FEAT_SIGNS + int sign_present = FALSE; + sign_attrs_T sattr; +#endif #ifdef FEAT_SEARCH_EXTRA matchitem_T *cur; /* points to the match list */ match_T *shl; /* points to search_hl or a match */ diff --git a/src/version.c b/src/version.c index d1e12c8238..634cd089b2 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 */ +/**/ + 1635, /**/ 1634, /**/