mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 13:03:13 +08:00
Formatting fixes
This commit is contained in:
parent
64c1c75c42
commit
38c52cf9b5
|
@ -248,11 +248,8 @@ static void check_connection(void)
|
||||||
static void env_universal_remove_all()
|
static void env_universal_remove_all()
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
wcstring_list_t lst;
|
wcstring_list_t lst;
|
||||||
env_universal_common_get_names(lst,
|
env_universal_common_get_names(lst, true, true);
|
||||||
1,
|
|
||||||
1);
|
|
||||||
for (i=0; i<lst.size(); i++)
|
for (i=0; i<lst.size(); i++)
|
||||||
{
|
{
|
||||||
const wcstring &key = lst.at(i);
|
const wcstring &key = lst.at(i);
|
||||||
|
|
|
@ -518,7 +518,7 @@ message_t *create_message(fish_message_type_t type,
|
||||||
*/
|
*/
|
||||||
void env_universal_common_get_names(wcstring_list_t &lst, bool show_exported, bool show_unexported)
|
void env_universal_common_get_names(wcstring_list_t &lst, bool show_exported, bool show_unexported)
|
||||||
{
|
{
|
||||||
wcstring_list_t names = default_universal_vars().get_names(show_exported, show_unexported);
|
const wcstring_list_t names = default_universal_vars().get_names(show_exported, show_unexported);
|
||||||
lst.insert(lst.end(), names.begin(), names.end());
|
lst.insert(lst.end(), names.begin(), names.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user