diff options
Diffstat (limited to 'usr.bin/at/parsetime.c')
-rw-r--r-- | usr.bin/at/parsetime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index 8ba6a14..8cde1dc 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -143,7 +143,8 @@ static size_t sc_len; /* scanner - lenght of token buffer */ static int sc_tokid; /* scanner - token id */ static int sc_tokplur; /* scanner - is token plural? */ -static char rcsid[] = "$Id: parsetime.c,v 1.14 1998/08/08 14:02:06 alex Exp $"; +static const char rcsid[] = + "$Id: parsetime.c,v 1.15 1998/08/30 17:33:05 steve Exp $"; /* Local functions */ @@ -464,7 +465,7 @@ static void month(struct tm *tm) { long year= (-1); - long mday, wday, mon; + long mday = 0, wday, mon; int tlen; switch (sc_tokid) { |