[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sun Jan 10 14:42:10 MST 2010


The branch, master has been updated
       via  81a848b... s3: Remove some unused variables
      from  fd1b6bd... s3: Fix some nonempty blank lines

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 81a848be6d5bb57c7f812fb58a2b6d349f0af104
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Jan 10 22:42:02 2010 +0100

    s3: Remove some unused variables

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

Summary of changes:
 source3/rpc_client/cli_netlogon.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 0388447..e484209 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -154,10 +154,8 @@ NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
 	uint8_t authoritative;
 	int validation_level = 3;
 	fstring clnt_name_slash;
-	uint8 zeros[16];
 
 	ZERO_STRUCT(ret_creds);
-	ZERO_STRUCT(zeros);
 
 	logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonLevel);
 	if (!logon) {
@@ -302,7 +300,6 @@ NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
 	int validation_level = 3;
 	const char *workstation_name_slash;
 	const char *server_name_slash;
-	uint8 zeros[16];
 	struct netr_Authenticator clnt_creds;
 	struct netr_Authenticator ret_creds;
 	union netr_LogonLevel *logon = NULL;
@@ -314,7 +311,6 @@ NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
 
 	*info3 = NULL;
 
-	ZERO_STRUCT(zeros);
 	ZERO_STRUCT(ret_creds);
 
 	ZERO_STRUCT(lm);
@@ -414,7 +410,6 @@ NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
 	int validation_level = 3;
 	const char *workstation_name_slash;
 	const char *server_name_slash;
-	uint8 zeros[16];
 	union netr_LogonLevel *logon = NULL;
 	struct netr_NetworkInfo *network_info;
 	uint8_t authoritative;
@@ -425,8 +420,6 @@ NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
 
 	*info3 = NULL;
 
-	ZERO_STRUCT(zeros);
-
 	ZERO_STRUCT(lm);
 	ZERO_STRUCT(nt);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list