diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-26 11:12:59 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-26 11:12:59 +0000 |
commit | 48090491ef704ef2c61951b7dcbcd4373dcb5c5d (patch) | |
tree | e21769dba22342267d9f11b1c3400052851fe7b8 /modules/pam_motd | |
parent | 1e14a517cf9b52c4d1697467d1c235215b8519cb (diff) | |
download | linux-pam-git-48090491ef704ef2c61951b7dcbcd4373dcb5c5d.tar.gz |
pam_motd: remove redundant return statement
* modules/pam_motd/pam_motd.c
(try_to_display_directories_with_overrides): Remove return statement
at the end of the function returning void.
Fixes: f9c9c721 ("pam_motd: Support multiple motd paths specified, with filename overrides (#69)")
Diffstat (limited to 'modules/pam_motd')
-rw-r--r-- | modules/pam_motd/pam_motd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pam_motd/pam_motd.c b/modules/pam_motd/pam_motd.c index 6017bb40..a8887ec1 100644 --- a/modules/pam_motd/pam_motd.c +++ b/modules/pam_motd/pam_motd.c @@ -291,8 +291,6 @@ static void try_to_display_directories_with_overrides(pam_handle_t *pamh, } _pam_drop(dirscans_sizes); _pam_drop(dirscans); - - return; } int pam_sm_open_session(pam_handle_t *pamh, int flags, |