From ae4461dce98a70740d8deabf4859cb96032bdf67 Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Fri, 7 Jun 2019 13:41:35 +1200 Subject: auth auth_log: csbuild unused parm unix_username MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes csbuild errors Error: COMPILER_WARNING: auth/auth_log.c: scope_hint: In function ‘log_authentication_event_json’ auth/auth_log.c:146:14: warning: unused parameter ‘unix_username’ [-Wunused-parameter] Error: COMPILER_WARNING: auth/auth_log.c: scope_hint: In function ‘log_authentication_event_human_readable’ auth/auth_log.c:586:14: warning: unused parameter ‘unix_username’ [-Wunused-parameter] Signed-off-by: Gary Lockyer Reviewed-by: Andreas Schneider --- source3/auth/auth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 7215218413f..ce2cb0d75bf 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -317,7 +317,7 @@ NTSTATUS auth_check_ntlm_password(TALLOC_CTX *mem_ctx, nt_status, server_info->info3->base.logon_domain.string, server_info->info3->base.account_name.string, - unix_username, &sid); + &sid); DEBUG(server_info->guest ? 5 : 2, ("check_ntlm_password: %sauthentication for user " @@ -352,7 +352,6 @@ fail: nt_status, NULL, NULL, - NULL, NULL); ZERO_STRUCTP(pserver_info); -- cgit v1.2.1