]> granicus.if.org Git - vim/commitdiff
patch 8.0.0065 v8.0.0065
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Nov 2016 19:13:35 +0000 (20:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Nov 2016 19:13:35 +0000 (20:13 +0100)
Problem:    Compiler warning for unused function in tiny build. (Tony
            Mechelynck)
Solution:   Add #ifdef.

src/option.c
src/version.c

index 8eea1f876616052b8f2e3736d2d72a87bf6efd26..c32a2a4f0aa7bc31d88b1e1270be2eaa70827ae4 100644 (file)
@@ -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.
index 1399c87517c4ce332434e05e0f6d4e623a46f463..2b5d656ae7a71d4d01dce35372345f128551b27f 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    65,
 /**/
     64,
 /**/