From 9a48bb9ea3736f6ba3eb9c3f3a026124f246b6ab Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Thu, 22 Feb 2024 17:04:11 +0100 Subject: modules: drop redundant return at end of void functions --- modules/pam_env/pam_env.c | 1 - modules/pam_limits/pam_limits.c | 1 - modules/pam_umask/pam_umask.c | 1 - 3 files changed, 3 deletions(-) (limited to 'modules') diff --git a/modules/pam_env/pam_env.c b/modules/pam_env/pam_env.c index b0f0b453..2cc58228 100644 --- a/modules/pam_env/pam_env.c +++ b/modules/pam_env/pam_env.c @@ -821,7 +821,6 @@ _clean_var(VAR *var) var->value = NULL; /* never has memory specific to it */ var->defval = NULL; var->override = NULL; - return; } static int diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c index 75c2bd99..89d03f8a 100644 --- a/modules/pam_limits/pam_limits.c +++ b/modules/pam_limits/pam_limits.c @@ -771,7 +771,6 @@ process_limit (const pam_handle_t *pamh, int source, const char *lim_type, } } } - return; } static int diff --git a/modules/pam_umask/pam_umask.c b/modules/pam_umask/pam_umask.c index 72b10e92..8ba5de9a 100644 --- a/modules/pam_umask/pam_umask.c +++ b/modules/pam_umask/pam_umask.c @@ -125,7 +125,6 @@ set_umask (const char *value) ((mask == UINT_MAX) && (errno == ERANGE))) return; umask (mask); - return; } /* Set the process nice, ulimit, and umask from the -- cgit v1.2.3