mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-15 09:21:15 -03:00
Remove 4 cppcheck suppressions reported unmatched.
This commit is contained in:
@@ -1372,7 +1372,6 @@ void complete(const wcstring &cmd_with_subcmds, std::vector<completion_t> *out_c
|
||||
}
|
||||
}
|
||||
|
||||
// cppcheck-suppress nullPointerRedundantCheck
|
||||
if (cmd_node && cmd_node->location_in_or_at_end_of_source_range(pos)) {
|
||||
// Complete command filename.
|
||||
completer.complete_cmd(current_token, use_function, use_builtin, use_command,
|
||||
|
||||
Reference in New Issue
Block a user