Instance env_set_empty

This commit is contained in:
ridiculousfish
2018-09-10 21:27:25 -07:00
parent a00de96a57
commit 26fc705c07
5 changed files with 11 additions and 18 deletions

View File

@@ -356,7 +356,7 @@ void function_prepare_environment(env_stack_t &vars, const wcstring &name,
env_set_one(named_arg, ENV_LOCAL | ENV_USER, *arg);
arg++;
} else {
env_set_empty(named_arg, ENV_LOCAL | ENV_USER);
vars.set_empty(named_arg, ENV_LOCAL | ENV_USER);
}
}
}