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
index d6761c8..58866bf 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3265,11 +3265,13 @@
#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 */