git: c7846853d350 - main - rpc.yppasswdd: Remove useless return at the end of void function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 15:12:46 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c7846853d3509529f32286901e65474dd5b6bcc9
commit c7846853d3509529f32286901e65474dd5b6bcc9
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:07 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 15:01:39 +0000
rpc.yppasswdd: Remove useless return at the end of void function
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/656
---
usr.sbin/rpc.yppasswdd/yppasswdd_server.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c b/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
index 56c8defc3ba7..8089dac2a6ea 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
@@ -135,8 +135,6 @@ copy_yp_pass(char *p, int x, int m)
yp_password.pw_fields |= _PWF_DIR;
EXPAND(yp_password.pw_shell);
yp_password.pw_fields |= _PWF_SHELL;
-
- return;
}
static int