mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4:torture: Make sure variable is initialized in oplock test
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e7e4362ba2
commit
3f1da75f3a
@ -4976,7 +4976,8 @@ static void child_sig_term_handler(struct tevent_context *ev,
|
||||
void *private_data)
|
||||
{
|
||||
int *pstatus = (int *)private_data;
|
||||
int status;
|
||||
int status = 0;
|
||||
|
||||
wait(&status);
|
||||
if (WIFEXITED(status)) {
|
||||
*pstatus = WEXITSTATUS(status);
|
||||
|
Loading…
Reference in New Issue
Block a user