From: Volker Lendecke Date: Tue, 6 May 2025 15:06:39 +0000 (+0200) Subject: libsmb: Remove an unused variable X-Git-Tag: tevent-0.17.0~186 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d0371937f4d158feee75b5f49fc3776c8b5722b;p=thirdparty%2Fsamba.git libsmb: Remove an unused variable Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 69d49c243f8..129a0a66ba6 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -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)) {