From e764d1b4219e6615a04df1c3a6a5c0210a0a7dac Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Sun, 12 Mar 2023 21:20:59 +0000 Subject: patch 9.0.1403: unused variables and functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Unused variables and functions. Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145) --- src/charset.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/charset.c') diff --git a/src/charset.c b/src/charset.c index 6b2790f0ea..92567bf7bc 100644 --- a/src/charset.c +++ b/src/charset.c @@ -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 -- cgit v1.2.3