summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-27 02:55:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-27 02:55:02 +0000
commitf65f82b979a339dad4db5c1aca3dd92a694129d8 (patch)
treee7985c48fc81dd69caf0c8de0e94875114b497e1 /usr.bin/calendar
parent65b3d90f77398a1fd57ca3c445a23662c8c8ee35 (diff)
-Wall passage for prev commit
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index 47df11d22e2..3f209dad6f3 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.15 2001/09/26 20:38:55 mickey Exp $ */
+/* $OpenBSD: io.c,v 1.16 2001/09/27 02:55:01 mickey Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@@ -43,7 +43,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
#else
-static char rcsid[] = "$OpenBSD: io.c,v 1.15 2001/09/26 20:38:55 mickey Exp $";
+static char rcsid[] = "$OpenBSD: io.c,v 1.16 2001/09/27 02:55:01 mickey Exp $";
#endif
#endif /* not lint */
@@ -87,7 +87,7 @@ cal()
register int printing;
register char *p;
FILE *fp;
- int ch, l, i, bodun, bodun_maybe;
+ int ch, l, i, bodun = 0, bodun_maybe = 0;
int var;
char buf[2048 + 1];
struct event *events, *cur_evt, *ev1, *tmp;