summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
commitce3085bbfbefdc248456fec1c710f8d1baea0d8e (patch)
treefa6d3cbe8713f6b25b8d8c0082306ab11bdae241 /usr.sbin/pstat
parent60b910d7c27c4544e9c4525d0092d04cfdaf384e (diff)
downloadFreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.zip
FreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.tar.gz
Remove unused variables.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index ca78637..519f4d8 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -336,7 +336,6 @@ static void
ttyprt(struct xtty *xt)
{
int i, j;
- pid_t pgid;
char *name, state[20];
if (xt->xt_size != sizeof *xt)
@@ -357,7 +356,6 @@ ttyprt(struct xtty *xt)
state[j++] = '-';
state[j] = '\0';
(void)printf("%-6s %8d", state, xt->xt_sid);
- pgid = 0;
(void)printf("%6d ", xt->xt_pgid);
switch (xt->xt_line) {
case TTYDISC:
OpenPOWER on IntegriCloud