Skip to content

Commit 40d3f13

Browse files
committed
patch 8.0.0065
Problem: Compiler warning for unused function in tiny build. (Tony Mechelynck) Solution: Add #ifdef.
1 parent eb828d0 commit 40d3f13

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/option.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5822,6 +5822,7 @@ set_string_option(
58225822
return r;
58235823
}
58245824

5825+
#if defined(FEAT_KEYMAP) || defined(FEAT_AUTOCMD) || defined(FEAT_SYN_HL)
58255826
/*
58265827
* Return TRUE if "val" is a valid 'filetype' name.
58275828
* Also used for 'syntax' and 'keymap'.
@@ -5836,6 +5837,7 @@ valid_filetype(char_u *val)
58365837
return FALSE;
58375838
return TRUE;
58385839
}
5840+
#endif
58395841

58405842
/*
58415843
* Handle string options that need some action to perform when changed.

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
65,
767769
/**/
768770
64,
769771
/**/

0 commit comments

Comments
 (0)