auth auth_log: csbuild unused parm transport_protection
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 7 Jun 2019 01:53:58 +0000 (13:53 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 13 Jun 2019 07:16:22 +0000 (07:16 +0000)
Fixes csbuild errors.

Error: COMPILER_WARNING:
auth/auth_log.c: scope_hint: In function
‘log_successful_authz_event_human_readable’
auth/auth_log.c:728:14: warning: unused parameter ‘transport_protection’
[-Wunused-param
eter]

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
auth/auth_log.c

index 6c5fac0bf42323e3f9c1424c894ffe9a85c7a6ae..60bc63345918bd295a0b56768678b83947aa387a 100644 (file)
@@ -719,7 +719,6 @@ static void log_successful_authz_event_human_readable(
        const struct tsocket_address *local,
        const char *service_description,
        const char *auth_type,
-       const char *transport_protection,
        struct auth_session_info *session_info,
        int debug_level)
 {
@@ -790,7 +789,6 @@ void log_successful_authz_event(
                                                          local,
                                                          service_description,
                                                          auth_type,
-                                                         transport_protection,
                                                          session_info,
                                                          debug_level);
        }