From 23b8a6c6bae532aa3c8e8188b7a09a97c48fbf5d Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 5 Jan 2001 21:23:44 +0000 Subject: Needs to be NULL at init in all cases. git-svn-id: svn://busybox.net/trunk/busybox@1545 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- lash.c | 2 +- sh.c | 2 +- shell/lash.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lash.c b/lash.c index 36e8aa5ea..98d6b65a6 100644 --- a/lash.c +++ b/lash.c @@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the /* Globals that are static to this file */ static char *cwd; -static char *local_pending_command; +static char *local_pending_command = NULL; static struct jobset job_list = { NULL, NULL }; static int argc; static char **argv; diff --git a/sh.c b/sh.c index 36e8aa5ea..98d6b65a6 100644 --- a/sh.c +++ b/sh.c @@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the /* Globals that are static to this file */ static char *cwd; -static char *local_pending_command; +static char *local_pending_command = NULL; static struct jobset job_list = { NULL, NULL }; static int argc; static char **argv; diff --git a/shell/lash.c b/shell/lash.c index 36e8aa5ea..98d6b65a6 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -203,7 +203,7 @@ unsigned int shell_context; /* Used in cmdedit.c to reset the /* Globals that are static to this file */ static char *cwd; -static char *local_pending_command; +static char *local_pending_command = NULL; static struct jobset job_list = { NULL, NULL }; static int argc; static char **argv; -- cgit v1.2.3-55-g6feb