commit | 1b1942f93dba68535df873b6de456ac8325e8dcb | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Fri Nov 07 11:20:21 2003 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Fri Nov 07 11:20:21 2003 +0000 |
tree | 35d4f4f42fb449f9f1ff1189f010412eb9e1f526 | |
parent | 7f9de02ca6a6d0fbe28e826c4a7cd8bf8b7deeef [diff] |
As vodz pointed out, setting unset_env to NULL is sufficient
diff --git a/coreutils/env.c b/coreutils/env.c index d8b4285..1e95f81 100644 --- a/coreutils/env.c +++ b/coreutils/env.c
@@ -62,13 +62,9 @@ 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;