s3: Remove some unused variables
authorVolker Lendecke <vl@samba.org>
Sun, 10 Jan 2010 21:42:02 +0000 (22:42 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 10 Jan 2010 21:43:02 +0000 (22:43 +0100)
source3/rpc_client/cli_netlogon.c

index 03884479f9f08d77980030f7b2c2573ff1d5663a..e484209cbe3d7b0b83b8e0a6390a712c382adc8e 100644 (file)
@@ -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);