Initialise the status variable. W_SETTERMSIG uses its value.

Submitted by:	stefanf
This commit is contained in:
Hartmut Brandt 2005-02-10 14:32:14 +00:00
parent b83d741b1c
commit 96089951e4

View File

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