diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-11-03 04:16:19 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-11-03 04:16:19 +0000 |
commit | aebe358a44762b266e54e5e6529e3b0efbb530e8 (patch) | |
tree | b69097e784a14ca719c8aed52615855dd94dc268 /sys | |
parent | 479a31ae8f4a361b101aa203aa1c0822137708d7 (diff) |
libc: address kencc warning in date.c
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/libc/port/date.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/libc/port/date.c b/sys/src/libc/port/date.c index cf532cb8e..10a386870 100644 --- a/sys/src/libc/port/date.c +++ b/sys/src/libc/port/date.c @@ -628,6 +628,7 @@ tmparse(Tm *tm, char *fmt, char *str, Tzone *tz, char **ep) zoned = 0; zparsed = nil; sloppy = 0; + c0 = -1; /* Default all fields */ tmtime(tm, 0, nil); if(*p == '~'){ |