mirror of
https://github.com/fish-shell/fish-shell
synced 2025-02-15 21:49:26 +00:00
Remove a suspicious 'unused' declaration for wildcard_complete_internal
This function is used and so is its return value, at all call sites.
This commit is contained in:
parent
af3383e727
commit
245f264c04
1 changed files with 0 additions and 11 deletions
|
@ -206,17 +206,6 @@ static bool has_prefix_match(const completion_list_t *comps, size_t first) {
|
|||
///
|
||||
/// We ignore ANY_STRING_RECURSIVE here. The consequence is that you cannot tab complete **
|
||||
/// wildcards. This is historic behavior.
|
||||
static bool wildcard_complete_internal(const wchar_t *const str, size_t str_len,
|
||||
const wchar_t *const wc, size_t wc_len,
|
||||
const wc_complete_pack_t ¶ms, complete_flags_t flags,
|
||||
completion_list_t *out, bool is_first_call);
|
||||
__attribute__((unused)) static bool wildcard_complete_internal(
|
||||
const wchar_t *const str, const wchar_t *const wc, const wc_complete_pack_t ¶ms,
|
||||
complete_flags_t flags, completion_list_t *out, bool is_first_call = false) {
|
||||
return wildcard_complete_internal(str, std::wcslen(str), wc, std::wcslen(wc), params, flags,
|
||||
out, is_first_call);
|
||||
}
|
||||
|
||||
static bool wildcard_complete_internal(const wchar_t *const str, size_t str_len,
|
||||
const wchar_t *const wc, size_t wc_len,
|
||||
const wc_complete_pack_t ¶ms, complete_flags_t flags,
|
||||
|
|
Loading…
Add table
Reference in a new issue