diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2019-06-07 13:41:35 +1200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-06-13 07:16:22 +0000 |
commit | ae4461dce98a70740d8deabf4859cb96032bdf67 (patch) | |
tree | bb0e0a0061d20bb43d2d1d699940719adcd2baf9 /auth | |
parent | bf6620c5f33175d06b90f41513a317b54e4f8ec6 (diff) | |
download | samba-ae4461dce98a70740d8deabf4859cb96032bdf67.tar.gz |
auth auth_log: csbuild unused parm unix_username
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 <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/auth_log.c | 6 | ||||
-rw-r--r-- | auth/common_auth.h | 1 |
2 files changed, 0 insertions, 7 deletions
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); /* |