s3: Remove some unused variables
authorVolker Lendecke <vl@samba.org>
Mon, 20 Dec 2010 14:58:55 +0000 (15:58 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 20 Dec 2010 16:10:57 +0000 (17:10 +0100)
source3/libsmb/trusts_util.c
source3/torture/torture.c

index e122937d6e7a7ad16e082353975345479a0b9145..25f97bb488abc2e38f4b4f59682a7114f55c7df2 100644 (file)
@@ -148,7 +148,6 @@ bool enumerate_domain_trusts( TALLOC_CTX *mem_ctx, const char *domain,
        uint32          enum_ctx = 0;
        struct cli_state *cli = NULL;
        struct rpc_pipe_client *lsa_pipe = NULL;
-       bool            retry;
        struct lsa_DomainList dom_list;
        int i;
 
@@ -167,7 +166,7 @@ bool enumerate_domain_trusts( TALLOC_CTX *mem_ctx, const char *domain,
        /* setup the anonymous connection */
 
        result = cli_full_connection( &cli, global_myname(), dc_name, &dc_ss, 0, "IPC$", "IPC",
-               "", "", "", 0, Undefined, &retry);
+               "", "", "", 0, Undefined, NULL);
        if ( !NT_STATUS_IS_OK(result) )
                goto done;
 
index 7821f0eaf47ce793c74d521748959d3e96f3e23f..32c2a614346290aace99d300f4407fc8735ee95f 100644 (file)
@@ -398,7 +398,6 @@ static bool torture_open_connection_share(struct cli_state **c,
                                   const char *hostname, 
                                   const char *sharename)
 {
-       bool retry;
        int flags = 0;
        NTSTATUS status;
 
@@ -413,7 +412,7 @@ static bool torture_open_connection_share(struct cli_state **c,
                                     hostname, NULL, port_to_use, 
                                     sharename, "?????", 
                                     username, workgroup, 
-                                    password, flags, signing_state, &retry);
+                                    password, flags, signing_state, NULL);
        if (!NT_STATUS_IS_OK(status)) {
                printf("failed to open share connection: //%s/%s port:%d - %s\n",
                        hostname, sharename, port_to_use, nt_errstr(status));
@@ -1454,7 +1453,6 @@ static bool tcon_devtest(struct cli_state *cli,
 static bool run_tcon_devtype_test(int dummy)
 {
        static struct cli_state *cli1 = NULL;
-       bool retry;
        int flags = 0;
        NTSTATUS status;
        bool ret = True;
@@ -1463,7 +1461,7 @@ static bool run_tcon_devtype_test(int dummy)
                                     host, NULL, port_to_use,
                                     NULL, NULL,
                                     username, workgroup,
-                                    password, flags, signing_state, &retry);
+                                    password, flags, signing_state, NULL);
 
        if (!NT_STATUS_IS_OK(status)) {
                printf("could not open connection\n");