]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
auth: Remove unnecessary return statements
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 9 May 2023 02:11:42 +0000 (14:11 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 May 2023 01:03:37 +0000 (01:03 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_log.c

index cf1f9109c7442273feb131b8c4b5a7cc218e93a3..730e5b6080ecc3ac6d0775cbf6402d29068a79bb 100644 (file)
@@ -491,8 +491,6 @@ static void log_no_json(struct imessaging_context *msg_ctx,
                                   "compiled with jansson\n");
                }
        }
-
-       return;
 }
 
 static void log_authentication_event_json(
@@ -508,7 +506,6 @@ static void log_authentication_event_json(
        int debug_level)
 {
        log_no_json(msg_ctx, lp_ctx);
-       return;
 }
 
 static void log_successful_authz_event_json(
@@ -523,7 +520,6 @@ static void log_successful_authz_event_json(
        int debug_level)
 {
        log_no_json(msg_ctx, lp_ctx);
-       return;
 }
 
 #endif