summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2006-10-26 22:36:54 +0000
committercloder <cloder@openbsd.org>2006-10-26 22:36:54 +0000
commit790e404c4fa9e0b56ee358b16ce67e65dd2dd6ba (patch)
tree404e11e4bbb6f1d14ec07be157bdc4bfffc4ab2f
parent- document that multiple commands may be newline or semicolon separated (diff)
downloadwireguard-openbsd-790e404c4fa9e0b56ee358b16ce67e65dd2dd6ba.tar.xz
wireguard-openbsd-790e404c4fa9e0b56ee358b16ce67e65dd2dd6ba.zip
Remove an unused variable spotted by lint.
-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;