summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/job.c b/job.c
index e79b6a7..c920b9f 100644
--- a/job.c
+++ b/job.c
@@ -1341,11 +1341,9 @@ new_job (file)
`struct child', and add that to the chain. */
c = (struct child *) xmalloc (sizeof (struct child));
+ bzero ((char *)c, sizeof (struct child));
c->file = file;
c->command_lines = lines;
- c->command_line = 0;
- c->command_ptr = 0;
- c->environment = 0;
c->sh_batch_file = NULL;
/* Fetch the first command line to be run. */