git: e080b609a899 - stable/13 - rpc.tlsservd: Delete set but unused variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 00:52:30 UTC
The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=e080b609a8991dd059e61483eab654358ca06db5 commit e080b609a8991dd059e61483eab654358ca06db5 Author: Rick Macklem <rmacklem@FreeBSD.org> AuthorDate: 2022-04-27 02:29:01 +0000 Commit: Rick Macklem <rmacklem@FreeBSD.org> CommitDate: 2022-06-05 00:51:46 +0000 rpc.tlsservd: Delete set but unused variable (cherry picked from commit 350668eb09a274436922fd580cd958c6a8a7eb25) --- 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 6bd910af34cd..8c364584a76c 100644 --- a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c +++ b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c @@ -146,7 +146,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; @@ -181,7 +181,6 @@ main(int argc, char **argv) rpctls_dnsname = hostname; } - debug = 0; rpctls_verbose = false; while ((ch = getopt_long(argc, argv, "2C:D:dhl:n:mp:r:uvWw", longopts, NULL)) != -1) {