shithub: riscv

Download patch

ref: aebe358a44762b266e54e5e6529e3b0efbb530e8
parent: 479a31ae8f4a361b101aa203aa1c0822137708d7
author: Jacob Moody <moody@posixcafe.org>
date: Thu Nov 3 00:16:19 EDT 2022

libc: address kencc warning in date.c

--- a/sys/src/libc/port/date.c
+++ b/sys/src/libc/port/date.c
@@ -628,6 +628,7 @@
 	zoned = 0;
 	zparsed = nil;
 	sloppy = 0;
+	c0 = -1;
 	/* Default all fields */
 	tmtime(tm, 0, nil);
 	if(*p == '~'){