0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1403: unused variables and functions

Problem:    Unused variables and functions.
Solution:   Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
This commit is contained in:
Dominique Pelle
2023-03-12 21:20:59 +00:00
committed by Bram Moolenaar
parent d13dd30240
commit e764d1b421
13 changed files with 38 additions and 26 deletions

View File

@@ -907,6 +907,7 @@ vim_isfilec(int c)
return (c >= 0x100 || (c > 0 && (g_chartab[c] & CT_FNAME_CHAR)));
}
#if defined(FEAT_SPELL) || defined(PROTO)
/*
* Return TRUE if 'c' is a valid file-name character, including characters left
* out of 'isfname' to make "gf" work, such as comma, space, '@', etc.
@@ -916,6 +917,7 @@ vim_is_fname_char(int c)
{
return vim_isfilec(c) || c == ',' || c == ' ' || c == '@';
}
#endif
/*
* return TRUE if 'c' is a valid file-name character or a wildcard character