Permalink
Browse files

patch 8.0.0065

Problem:    Compiler warning for unused function in tiny build. (Tony
            Mechelynck)
Solution:   Add #ifdef.
  • Loading branch information...
1 parent eb828d0 commit 40d3f137e751c0e9f5e7e6a587b93a52dd833d04 @brammool brammool committed Nov 5, 2016
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/option.c
  2. +2 −0 src/version.c
View
@@ -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.
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 65,
+/**/
64,
/**/
63,

0 comments on commit 40d3f13

Please sign in to comment.