summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2006-10-26 22:36:55 +0000
committerChad Loder <cloder@cvs.openbsd.org>2006-10-26 22:36:55 +0000
commit7820cd6f0b8f30face456a8873ae37efcb8ba322 (patch)
treea6f6b885f95ff1e6ee5e0f19a8ae30e6e8cd7968 /usr.bin/xlint
parent367cc0a99f2d386aea1a0f40eeb16d35a8e1402d (diff)
Remove an unused variable spotted by lint.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/tree.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c
index e2c55cdead1..19b56dfe381 100644
--- a/usr.bin/xlint/lint1/tree.c
+++ b/usr.bin/xlint/lint1/tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tree.c,v 1.43 2006/06/02 17:38:59 cloder Exp $ */
+/* $OpenBSD: tree.c,v 1.44 2006/10/26 22:36:54 cloder Exp $ */
/* $NetBSD: tree.c,v 1.12 1995/10/02 17:37:57 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tree.c,v 1.43 2006/06/02 17:38:59 cloder Exp $";
+static char rcsid[] = "$OpenBSD: tree.c,v 1.44 2006/10/26 22:36:54 cloder Exp $";
#endif
#include <stdlib.h>
@@ -3226,10 +3226,9 @@ parg(farg_t *farg, tnode_t *tn)
{
tnode_t *ln;
type_t *tp;
- int warn, n;
+ int warn;
tp = farg->fa_sym->s_type;
- n = farg->fa_num;
ln = xcalloc(1, sizeof (tnode_t));
ln->tn_type = tduptyp(tp);
ln->tn_type->t_const = 0;