Skip to content

Commit b4d9b89

Browse files
committed
patch 8.1.1635: warnings for unused variables in small version
Problem: Warnings for unused variables in small version. (John Marriott) Solution: Adjust #ifdefs.
1 parent 981d9dc commit b4d9b89

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/screen.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3265,11 +3265,13 @@ win_line(
32653265
#endif
32663266
#if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \
32673267
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
3268-
int sign_present = FALSE;
3269-
sign_attrs_T sattr;
32703268
# define LINE_ATTR
32713269
int line_attr = 0; /* attribute for the whole line */
32723270
#endif
3271+
#ifdef FEAT_SIGNS
3272+
int sign_present = FALSE;
3273+
sign_attrs_T sattr;
3274+
#endif
32733275
#ifdef FEAT_SEARCH_EXTRA
32743276
matchitem_T *cur; /* points to the match list */
32753277
match_T *shl; /* points to search_hl or a match */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1635,
780782
/**/
781783
1634,
782784
/**/

0 commit comments

Comments
 (0)