Remove unused variable.

From cppcheck via Henning Petersen in PR 46002.
This commit is contained in:
wiz 2012-02-13 12:55:28 +00:00
parent 6ef3ca5393
commit 6b6a89aacb

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.c,v 1.118 2011/06/13 03:42:15 dholland Exp $ */
/* $NetBSD: print.c,v 1.119 2012/02/13 12:55:28 wiz Exp $ */
/*
* Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
__RCSID("$NetBSD: print.c,v 1.118 2011/06/13 03:42:15 dholland Exp $");
__RCSID("$NetBSD: print.c,v 1.119 2012/02/13 12:55:28 wiz Exp $");
#endif
#endif /* not lint */
@ -554,13 +554,12 @@ void
lstate(void *arg, VARENT *ve, int mode)
{
struct kinfo_lwp *k;
int flag, is_zombie;
int flag;
char *cp;
VAR *v;
char buf[16];
k = arg;
is_zombie = 0;
v = ve->var;
flag = k->l_flag;
cp = buf;
@ -590,7 +589,6 @@ lstate(void *arg, VARENT *ve, int mode)
case LSZOMB:
case LSDEAD:
*cp = 'Z';
is_zombie = 1;
break;
case LSSUSPENDED: