git: e9e666f7de0f - main - keyserv: Remove return statement at the end of void functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Nov 2023 19:07:32 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=e9e666f7de0fe9a18d2299a61c2f4d6ce9187bd1
commit e9e666f7de0fe9a18d2299a61c2f4d6ce9187bd1
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-11-03 17:45:55 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-11-06 19:07:10 +0000
keyserv: Remove return statement at the end of void functions
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
---
usr.sbin/keyserv/crypt_server.c | 2 --
usr.sbin/keyserv/keyserv.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/usr.sbin/keyserv/crypt_server.c b/usr.sbin/keyserv/crypt_server.c
index 04290326cf3b..99ce8b8bf1af 100644
--- a/usr.sbin/keyserv/crypt_server.c
+++ b/usr.sbin/keyserv/crypt_server.c
@@ -196,8 +196,6 @@ void load_des(int warn, char *libpath)
printf ("Using %s shared object.\n", dlpath);
}
}
-
- return;
}
desresp *
diff --git a/usr.sbin/keyserv/keyserv.c b/usr.sbin/keyserv/keyserv.c
index bc219e886020..cd27c66965b1 100644
--- a/usr.sbin/keyserv/keyserv.c
+++ b/usr.sbin/keyserv/keyserv.c
@@ -704,7 +704,6 @@ keyprogram(struct svc_req *rqstp, SVCXPRT *transp)
"unable to free arguments\n");
exit(1);
}
- return;
}
static int