mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3: Remove some unused variables
This commit is contained in:
parent
fd1b6bdef9
commit
81a848be6d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user