mirror of
https://github.com/samba-team/samba.git
synced 2025-05-28 21:05:48 +03:00
libsmb: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
21633bdbbd
commit
3d0371937f
@ -150,7 +150,6 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
|
||||
enum smb_encryption_setting encryption_state =
|
||||
cli_credentials_get_smb_encryption(creds);
|
||||
struct smb2_negotiate_contexts *in_contexts = NULL;
|
||||
struct smb2_negotiate_contexts *out_contexts = NULL;
|
||||
|
||||
if (encryption_state >= SMB_ENCRYPTION_DESIRED) {
|
||||
signing_state = SMB_SIGNING_REQUIRED;
|
||||
@ -226,8 +225,8 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
|
||||
lp_client_min_protocol(),
|
||||
lp_client_max_protocol(),
|
||||
in_contexts,
|
||||
ctx,
|
||||
&out_contexts);
|
||||
NULL,
|
||||
NULL);
|
||||
TALLOC_FREE(in_contexts);
|
||||
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user