changeset 10340:54249c31882a v8.0.0065

commit https://github.com/vim/vim/commit/40d3f137e751c0e9f5e7e6a587b93a52dd833d04 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 5 20:13:35 2016 +0100 patch 8.0.0065 Problem: Compiler warning for unused function in tiny build. (Tony Mechelynck) Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Nov 2016 20:15:04 +0100
parents 388f4d2e7312
children baa541894b83
files src/option.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -5822,6 +5822,7 @@ set_string_option(
     return r;
 }
 
+#if defined(FEAT_KEYMAP) || defined(FEAT_AUTOCMD) || defined(FEAT_SYN_HL)
 /*
  * Return TRUE if "val" is a valid 'filetype' name.
  * Also used for 'syntax' and 'keymap'.
@@ -5836,6 +5837,7 @@ valid_filetype(char_u *val)
 	    return FALSE;
     return TRUE;
 }
+#endif
 
 /*
  * Handle string options that need some action to perform when changed.
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    65,
+/**/
     64,
 /**/
     63,