Formatting fixes

This commit is contained in:
ridiculousfish 2014-05-15 14:31:57 +08:00
parent 64c1c75c42
commit 38c52cf9b5
2 changed files with 2 additions and 5 deletions

View file

@ -248,11 +248,8 @@ static void check_connection(void)
static void env_universal_remove_all()
{
size_t i;
wcstring_list_t lst;
env_universal_common_get_names(lst,
1,
1);
env_universal_common_get_names(lst, true, true);
for (i=0; i<lst.size(); i++)
{
const wcstring &key = lst.at(i);

View file

@ -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)
{
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());
}