summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-10 14:32:14 +0000
committerharti <harti@FreeBSD.org>2005-02-10 14:32:14 +0000
commit7e0569095f624d1af6eb91b17b4f77c472374224 (patch)
tree383db2cc0b8d41a66b405936cf4e623734e67b1c /usr.bin/make
parent6a0712c33a5d8b668977a2afcd5ae04d609c86b7 (diff)
downloadFreeBSD-src-7e0569095f624d1af6eb91b17b4f77c472374224.zip
FreeBSD-src-7e0569095f624d1af6eb91b17b4f77c472374224.tar.gz
Initialise the status variable. W_SETTERMSIG uses its value.
Submitted by: stefanf
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index 2a4ec34..258ce79 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1340,6 +1340,7 @@ JobRestart(Job *job)
* actually put the thing in the job table.
*/
job->flags |= JOB_CONTINUING;
+ status = 0;
W_SETTERMSIG(&status, SIGCONT);
JobFinish(job, &status);
OpenPOWER on IntegriCloud