summaryrefslogtreecommitdiff
path: root/usr.bin/yacc/reader.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2005-06-10 16:40:46 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2005-06-10 16:40:46 +0000
commit5467aef96876d36ffa948f5ae06c61ba5e4ca5aa (patch)
treefb6c79f6f6390fbedc43b7795ff777da6751094a /usr.bin/yacc/reader.c
parentcb3d44c0bf47265a14ceea29e107384d285838e1 (diff)
-Wall clean; ok otto deraadt
Diffstat (limited to 'usr.bin/yacc/reader.c')
-rw-r--r--usr.bin/yacc/reader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c
index 25c9da0bbf9..e9c9c5ab745 100644
--- a/usr.bin/yacc/reader.c
+++ b/usr.bin/yacc/reader.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: reader.c,v 1.17 2004/08/08 20:13:13 deraadt Exp $ */
+/* $OpenBSD: reader.c,v 1.18 2005/06/10 16:40:45 pvalchev Exp $ */
/* $NetBSD: reader.c,v 1.5 1996/03/19 03:21:43 jtc Exp $ */
/*
@@ -1554,7 +1554,7 @@ int
mark_symbol(void)
{
int c;
- bucket *bp;
+ bucket *bp = NULL;
c = cptr[1];
if (c == '%' || c == '\\')
@@ -1878,7 +1878,7 @@ void
print_grammar(void)
{
int i, j, k;
- int spacing;
+ int spacing = 0;
FILE *f = verbose_file;
if (!vflag) return;