0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.1.1635: warnings for unused variables in small version

Problem:    Warnings for unused variables in small version. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2019-07-04 22:59:06 +02:00
parent 981d9dc8f3
commit b4d9b893d3
2 changed files with 6 additions and 2 deletions

View File

@@ -3265,11 +3265,13 @@ win_line(
#endif #endif
#if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \ #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF) || defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
int sign_present = FALSE;
sign_attrs_T sattr;
# define LINE_ATTR # define LINE_ATTR
int line_attr = 0; /* attribute for the whole line */ int line_attr = 0; /* attribute for the whole line */
#endif #endif
#ifdef FEAT_SIGNS
int sign_present = FALSE;
sign_attrs_T sattr;
#endif
#ifdef FEAT_SEARCH_EXTRA #ifdef FEAT_SEARCH_EXTRA
matchitem_T *cur; /* points to the match list */ matchitem_T *cur; /* points to the match list */
match_T *shl; /* points to search_hl or a match */ match_T *shl; /* points to search_hl or a match */

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1635,
/**/ /**/
1634, 1634,
/**/ /**/