diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-07 11:20:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-07 11:20:21 +0000 |
commit | 1b1942f93dba68535df873b6de456ac8325e8dcb (patch) | |
tree | 35d4f4f42fb449f9f1ff1189f010412eb9e1f526 /coreutils | |
parent | 7f9de02ca6a6d0fbe28e826c4a7cd8bf8b7deeef (diff) | |
download | busybox-1b1942f93dba68535df873b6de456ac8325e8dcb.tar.gz |
As vodz pointed out, setting unset_env to NULL is sufficient
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/env.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index d8b428561..1e95f819c 100644 --- a/coreutils/env.c +++ b/coreutils/env.c @@ -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; |