As vodz pointed out, setting unset_env to NULL is sufficient
This commit is contained in:
parent
7f9de02ca6
commit
1b1942f93d
@ -62,13 +62,9 @@ extern int env_main(int argc, char** argv)
|
||||
char **ep, *p;
|
||||
char *cleanenv[1] = { NULL };
|
||||
unsigned long opt;
|
||||
llist_t list, *unset_env;
|
||||
llist_t *unset_env = NULL;
|
||||
extern char **environ;
|
||||
|
||||
list.data = NULL;
|
||||
list.link = NULL;
|
||||
unset_env = &list;
|
||||
|
||||
bb_opt_complementaly = "u*";
|
||||
bb_applet_long_options = env_long_options;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user