diff options
-rw-r--r-- | lash.c | 2 | ||||
-rw-r--r-- | sh.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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; @@ -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; |