git: 350668eb09a2 - main - rpc.tlsservd: Delete set but unused variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 02:30:29 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=350668eb09a274436922fd580cd958c6a8a7eb25
commit 350668eb09a274436922fd580cd958c6a8a7eb25
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-04-27 02:29:01 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-04-27 02:29:01 +0000
rpc.tlsservd: Delete set but unused variable
---
usr.sbin/rpc.tlsservd/rpc.tlsservd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c
index 71787b162acd..db829be68334 100644
--- a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c
+++ b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c
@@ -142,7 +142,7 @@ main(int argc, char **argv)
* TLS handshake.
*/
struct sockaddr_un sun;
- int ch, debug, fd, oldmask;
+ int ch, fd, oldmask;
SVCXPRT *xprt;
struct timeval tm;
struct timezone tz;
@@ -177,7 +177,6 @@ main(int argc, char **argv)
rpctls_dnsname = hostname;
}
- debug = 0;
rpctls_verbose = false;
while ((ch = getopt_long(argc, argv, "D:dhl:n:mp:r:uvWw", longopts,
NULL)) != -1) {