From ce3085bbfbefdc248456fec1c710f8d1baea0d8e Mon Sep 17 00:00:00 2001 From: stefanf Date: Sat, 9 Apr 2005 14:59:10 +0000 Subject: Remove unused variables. --- usr.sbin/pstat/pstat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr.sbin/pstat') 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: -- cgit v1.1