[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3745-g7d96c8c

Günther Deschner gd at samba.org
Wed Aug 20 20:10:30 GMT 2008


The branch, v3-3-test has been updated
       via  7d96c8ce5c49b031b5a9a60a9ad5252653577513 (commit)
       via  1a85fce6e432bafed98856f22e0736489fa6f1f5 (commit)
      from  a46d7ffeef1807bafda15eb76ec74fcf41aae7f6 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 7d96c8ce5c49b031b5a9a60a9ad5252653577513
Author: Günther Deschner <gd at samba.org>
Date:   Wed Aug 20 21:17:35 2008 +0200

    libads: remove unused vars.
    
    Guenther
    (cherry picked from commit ea9fc3bea31b11e715d9524defc18b75e5943842)

commit 1a85fce6e432bafed98856f22e0736489fa6f1f5
Author: Günther Deschner <gd at samba.org>
Date:   Wed Aug 20 20:24:45 2008 +0200

    fix another build warning.
    
    Guenther
    (cherry picked from commit 43693ce6c678b961fa516bbf502af92f87cd5346)

-----------------------------------------------------------------------

Summary of changes:
 source/libads/ldap.c         |    3 ---
 source/rpc_client/cli_pipe.c |    4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index b59dab1..eb45e3a 100644
--- a/source/libads/ldap.c
+++ b/source/libads/ldap.c
@@ -393,9 +393,6 @@ static NTSTATUS ads_lookup_site(void)
 	ADS_STRUCT *ads = NULL;
 	ADS_STATUS ads_status;
 	NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
-	struct nbt_cldap_netlogon_5 cldap_reply;
-
-	ZERO_STRUCT(cldap_reply);
 
 	ads = ads_init(lp_realm(), NULL, NULL);
 	if (!ads) {
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index ad2f512..41dde87 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -979,8 +979,8 @@ static NTSTATUS rpc_api_pipe(struct rpc_pipe_client *cli,
 
 	while(1) {
 		RPC_HDR rhdr;
-		char *ret_data;
-		uint32 ret_data_len;
+		char *ret_data = NULL;
+		uint32 ret_data_len = 0;
 
 		/* Ensure we have enough data for a pdu. */
 		ret = cli_pipe_get_current_pdu(cli, &rhdr, &current_pdu);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list