Plug gcc warning after r268074 about unitialized newsigacts

Reported by:	Gary Jennejohn <gljennjohn gmail.com>
This commit is contained in:
mjg 2014-07-02 05:45:40 +00:00
parent 2adf2a899a
commit 3820ac174b

View File

@ -623,8 +623,10 @@ do_execve(td, args, mac_p)
oldsigacts = p->p_sigacts;
newsigacts = sigacts_alloc();
sigacts_copy(newsigacts, oldsigacts);
} else
} else {
oldsigacts = NULL;
newsigacts = NULL; /* satisfy gcc */
}
PROC_LOCK(p);
if (oldsigacts)