cli_netlogon: Remove a fallback for flags=NULL
authorVolker Lendecke <vl@samba.org>
Sat, 28 Jan 2017 11:31:09 +0000 (11:31 +0000)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Mar 2017 08:15:17 +0000 (09:15 +0100)
The two callers of rpccli_netlogon_network_logon have flags set !=NULL

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_client/cli_netlogon.c

index 0dab9f70f35b60c40dfaf4423559633219942f22..d166629d4acdf022d84265745e26baa8de034994 100644 (file)
@@ -472,16 +472,11 @@ NTSTATUS rpccli_netlogon_network_logon(struct netlogon_creds_cli_context *creds,
        struct netr_NetworkInfo *network_info;
        uint16_t validation_level = 0;
        union netr_Validation *validation = NULL;
-       uint32_t _flags = 0;
        struct netr_ChallengeResponse lm;
        struct netr_ChallengeResponse nt;
 
        *info3 = NULL;
 
-       if (flags == NULL) {
-               flags = &_flags;
-       }
-
        ZERO_STRUCT(lm);
        ZERO_STRUCT(nt);