Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 00:52:30 GMT
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e080b609a899 - stable/13 - rpc.tlsservd: Delete set but unused variable
Message-ID:  <202206050052.2550qUbh036540@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206050052.2550qUbh036540>