0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24: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

@@ -3569,6 +3569,7 @@ one_letter_cmd(char_u *p, cmdidx_T *idx)
return FALSE;
}
#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return TRUE if "cmd" starts with "123->", a number followed by a method
* call.
@@ -3580,6 +3581,7 @@ number_method(char_u *cmd)
return p > cmd && (p = skipwhite(p))[0] == '-' && p[1] == '>';
}
#endif
/*
* Find an Ex command by its name, either built-in or user.