mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3-smbd: Make sure that status is initialized when used.
Found by clang-analyzer.
This commit is contained in:
parent
6ac050f73f
commit
e716924590
@ -720,7 +720,7 @@ static void remove_pending_lock(struct smbd_smb2_lock_state *state,
|
||||
static void reprocess_blocked_smb2_lock(struct smbd_smb2_request *smb2req,
|
||||
struct timeval tv_curr)
|
||||
{
|
||||
NTSTATUS status;
|
||||
NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
|
||||
struct blocking_lock_record *blr = NULL;
|
||||
struct smbd_smb2_lock_state *state = NULL;
|
||||
files_struct *fsp = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user