mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-30 07:01:22 -03:00
[clang-tidy] Replace NULL with nullptr
Found with modernize-use-nullptr Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
8d54e928cd
commit
1055ff321c
@@ -287,7 +287,7 @@ wcstring_list_t function_get_names(int get_hidden) {
|
||||
const wchar_t *function_get_definition_file(const wcstring &name) {
|
||||
const auto funcset = function_set.acquire();
|
||||
const function_info_t *func = funcset->get_info(name);
|
||||
return func ? func->definition_file : NULL;
|
||||
return func ? func->definition_file : nullptr;
|
||||
}
|
||||
|
||||
bool function_is_autoloaded(const wcstring &name) {
|
||||
|
||||
Reference in New Issue
Block a user