1
0
forked from aniani/vim

patch 8.0.0065

Problem:    Compiler warning for unused function in tiny build. (Tony
            Mechelynck)
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2016-11-05 20:13:35 +01:00
parent eb828d01d9
commit 40d3f137e7
2 changed files with 4 additions and 0 deletions

View File

@@ -5822,6 +5822,7 @@ set_string_option(
return r; return r;
} }
#if defined(FEAT_KEYMAP) || defined(FEAT_AUTOCMD) || defined(FEAT_SYN_HL)
/* /*
* Return TRUE if "val" is a valid 'filetype' name. * Return TRUE if "val" is a valid 'filetype' name.
* Also used for 'syntax' and 'keymap'. * Also used for 'syntax' and 'keymap'.
@@ -5836,6 +5837,7 @@ valid_filetype(char_u *val)
return FALSE; return FALSE;
return TRUE; return TRUE;
} }
#endif
/* /*
* Handle string options that need some action to perform when changed. * Handle string options that need some action to perform when changed.

View File

@@ -764,6 +764,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 */
/**/
65,
/**/ /**/
64, 64,
/**/ /**/