[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-3771-gea9fc3b

Günther Deschner gd at samba.org
Wed Aug 20 20:08:13 GMT 2008


The branch, v3-devel has been updated
       via  ea9fc3bea31b11e715d9524defc18b75e5943842 (commit)
       via  43693ce6c678b961fa516bbf502af92f87cd5346 (commit)
      from  ee26664602445fa7798e2061f6bcbef0756d6528 (commit)

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


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

    libads: remove unused vars.
    
    Guenther

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

    fix another build warning.
    
    Guenther

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

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