forked from aniani/vim
patch 8.1.1145: compiler warning for unused function
Problem: Compiler warning for unused function. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -6030,6 +6030,7 @@ valid_filetype(char_u *val)
|
|||||||
return valid_name(val, ".-_");
|
return valid_name(val, ".-_");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(FEAT_SPELL) || defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Return TRUE if "val" is a valid 'spellang' value.
|
* Return TRUE if "val" is a valid 'spellang' value.
|
||||||
*/
|
*/
|
||||||
@@ -6052,6 +6053,7 @@ valid_spellfile(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.
|
||||||
|
@@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1145,
|
||||||
/**/
|
/**/
|
||||||
1144,
|
1144,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user