Needs to be NULL at init in all cases.

This commit is contained in:
Eric Andersen 2001-01-05 21:23:44 +00:00
parent 59d31b68c3
commit 744b064a34
3 changed files with 3 additions and 3 deletions

2
lash.c
View File

@ -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;

2
sh.c
View File

@ -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;

View File

@ -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;