mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Remove some dead code
This commit is contained in:
parent
785945c861
commit
5441ebc91f
1 changed files with 0 additions and 9 deletions
|
@ -143,15 +143,6 @@ int parse_help_only_cmd_opts(struct help_only_cmd_opts_t &opts, int *optind, int
|
|||
return STATUS_CMD_OK;
|
||||
}
|
||||
|
||||
/// Count the number of times the specified character occurs in the specified string.
|
||||
static int count_char(const wchar_t *str, wchar_t c) {
|
||||
int res = 0;
|
||||
for (; *str; str++) {
|
||||
res += (*str == c);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/// Obtain help/usage information for the specified builtin from manpage in subshell
|
||||
///
|
||||
/// @param name
|
||||
|
|
Loading…
Reference in a new issue