# HG changeset patch # User Bram Moolenaar # Date 1562274006 -7200 # Node ID 2342d5e500ece9e6d3699f2f97b413cbdfc4354f # Parent a43b8b3d4a9cd001fc9f2b53b1850eeaf0a9c6a2 patch 8.1.1635: warnings for unused variables in small version commit https://github.com/vim/vim/commit/b4d9b893d3c7af24b5adf4ae0475ada32d36f5ad Author: Bram Moolenaar Date: Thu Jul 4 22:59:06 2019 +0200 patch 8.1.1635: warnings for unused variables in small version Problem: Warnings for unused variables in small version. (John Marriott) Solution: Adjust #ifdefs. diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -3265,10 +3265,12 @@ win_line( #endif #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \ || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) +# define LINE_ATTR + int line_attr = 0; /* attribute for the whole line */ +#endif +#ifdef FEAT_SIGNS int sign_present = FALSE; sign_attrs_T sattr; -# define LINE_ATTR - int line_attr = 0; /* attribute for the whole line */ #endif #ifdef FEAT_SEARCH_EXTRA matchitem_T *cur; /* points to the match list */ diff --git a/src/version.c b/src/version.c --- 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 */ /**/ + 1635, +/**/ 1634, /**/ 1633,