]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Remove an unused variable
authorVolker Lendecke <vl@samba.org>
Tue, 6 May 2025 15:06:39 +0000 (17:06 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 15 May 2025 14:03:34 +0000 (14:03 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clidfs.c

index 69d49c243f8c0ae003b745f393f13c5d6e8702f3..129a0a66ba67850b46af5a6984f036063ec83e13 100644 (file)
@@ -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)) {