diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-04 22:59:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-04 22:59:06 +0200 |
commit | b4d9b893d3c7af24b5adf4ae0475ada32d36f5ad (patch) | |
tree | 932818353000bb35120e52d05bca41377079279b /src/screen.c | |
parent | 981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470 (diff) |
patch 8.1.1635: warnings for unused variables in small versionv8.1.1635
Problem: Warnings for unused variables in small version. (John Marriott)
Solution: Adjust #ifdefs.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 4 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 */ |