summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/ping
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 10:11:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:53 +0100
commite24c90c55f3b771793d5826492c0d8f6fa268fe5 (patch)
tree544c53a2708a9168781cbfe37d395848d0e7fe08 /freebsd/sbin/ping
parentPING(8): Add const qualifier (diff)
downloadrtems-libbsd-e24c90c55f3b771793d5826492c0d8f6fa268fe5.tar.bz2
PING(8): Delete unused variable
Diffstat (limited to 'freebsd/sbin/ping')
-rw-r--r--freebsd/sbin/ping/ping.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/freebsd/sbin/ping/ping.c b/freebsd/sbin/ping/ping.c
index c8e0e335..0b7b5274 100644
--- a/freebsd/sbin/ping/ping.c
+++ b/freebsd/sbin/ping/ping.c
@@ -184,7 +184,6 @@ static long nreceived; /* # of packets we got back */
static long nrepeats; /* number of duplicates */
static long ntransmitted; /* sequence # for outbound packets = #sent */
static long snpackets; /* max packets to transmit in one sweep */
-static long snreceived; /* # of packets we got back in this sweep */
static long sntransmitted; /* # of packets we sent in this sweep */
static int sweepmax; /* max value of payload in sweep */
static int sweepmin = 0; /* start value of payload in sweep */