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 --- auth/auth_log.c | 6 ------ auth/common_auth.h | 1 - 2 files changed, 7 deletions(-) (limited to 'auth') diff --git a/auth/auth_log.c b/auth/auth_log.c index d9b83b0ea0d..6c5fac0bf42 100644 --- a/auth/auth_log.c +++ b/auth/auth_log.c @@ -143,7 +143,6 @@ static void log_authentication_event_json( NTSTATUS status, const char *domain_name, const char *account_name, - const char *unix_username, struct dom_sid *sid, enum event_id_type event_id, int debug_level) @@ -498,7 +497,6 @@ static void log_authentication_event_json( NTSTATUS status, const char *domain_name, const char *account_name, - const char *unix_username, struct dom_sid *sid, enum event_id_type event_id, int debug_level) @@ -583,7 +581,6 @@ static void log_authentication_event_human_readable( NTSTATUS status, const char *domain_name, const char *account_name, - const char *unix_username, struct dom_sid *sid, int debug_level) { @@ -673,7 +670,6 @@ void log_authentication_event( NTSTATUS status, const char *domain_name, const char *account_name, - const char *unix_username, struct dom_sid *sid) { /* set the log level */ @@ -693,7 +689,6 @@ void log_authentication_event( status, domain_name, account_name, - unix_username, sid, debug_level); } @@ -706,7 +701,6 @@ void log_authentication_event( status, domain_name, account_name, - unix_username, sid, event_id, debug_level); diff --git a/auth/common_auth.h b/auth/common_auth.h index 0443c4e8044..9f04c9b9cbb 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -187,7 +187,6 @@ void log_authentication_event(struct imessaging_context *msg_ctx, NTSTATUS status, const char *account_name, const char *domain_name, - const char *unix_username, struct dom_sid *sid); /* -- cgit v1.2.1