diff options
author | archie <archie@FreeBSD.org> | 1998-12-06 07:42:09 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-06 07:42:09 +0000 |
commit | 731caa6ae4f0e01f800f3ce1c13d6f9196a3cfee (patch) | |
tree | 1180c4e135db0f24837105039a99c473e6e75537 /usr.bin/at/parsetime.c | |
parent | 58d8b6ab3ea1df0891a1f1013674c37fd281bce5 (diff) | |
download | FreeBSD-src-731caa6ae4f0e01f800f3ce1c13d6f9196a3cfee.zip FreeBSD-src-731caa6ae4f0e01f800f3ce1c13d6f9196a3cfee.tar.gz |
Eliminate compiler warnings from -Wall
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) { |