svn commit: r287179 - head/usr.bin/sockstat
Michael Tuexen
tuexen at FreeBSD.org
Wed Aug 26 22:52:19 UTC 2015
Author: tuexen
Date: Wed Aug 26 22:52:18 2015
New Revision: 287179
URL: https://svnweb.freebsd.org/changeset/base/287179
Log:
Remove a variable which is set but never used.
PR: 201585
MFC after: 3 weeks
Modified:
head/usr.bin/sockstat/sockstat.c
Modified: head/usr.bin/sockstat/sockstat.c
==============================================================================
--- head/usr.bin/sockstat/sockstat.c Wed Aug 26 22:50:53 2015 (r287178)
+++ head/usr.bin/sockstat/sockstat.c Wed Aug 26 22:52:18 2015 (r287179)
@@ -542,9 +542,9 @@ gather_inet(int proto)
const char *varname, *protoname;
size_t len, bufsize;
void *buf;
- int hash, retry, state, vflag;
+ int hash, retry, vflag;
- state = vflag = 0;
+ vflag = 0;
if (opt_4)
vflag |= INP_IPV4;
if (opt_6)
@@ -609,7 +609,6 @@ gather_inet(int proto)
inp = &xtp->xt_inp;
so = &xtp->xt_socket;
protoname = xtp->xt_tp.t_flags & TF_TOE ? "toe" : "tcp";
- state = xtp->xt_tp.t_state;
break;
case IPPROTO_UDP:
case IPPROTO_DIVERT:
More information about the svn-src-all
mailing list