mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 15:12:47 +08:00
Remove a dead function bool_from_env_var
This commit is contained in:
parent
8477126ae4
commit
d2ae00ca44
|
@ -1737,9 +1737,3 @@ bool universal_notifier_t::notification_fd_became_readable(int fd)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool bool_from_env_var(const char *name, bool default_value)
|
||||
{
|
||||
const char *var = getenv(name);
|
||||
return var ? from_string<bool>(var) : default_value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user