From 1b1942f93dba68535df873b6de456ac8325e8dcb Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 7 Nov 2003 11:20:21 +0000 Subject: [PATCH] As vodz pointed out, setting unset_env to NULL is sufficient --- coreutils/env.c | 6 +----- 1 file changed, 1 insertion(+), 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;