diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-01-13 14:59:05 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-01-14 17:16:52 +0000 |
| commit | 55572cff58c4208a9e532356a245676b8eed6a3e (patch) | |
| tree | bac4bb0dd5e94d46a8830aca7ced746e1b9cd33d /contrib/tzcode | |
| parent | 96e68c393f65046c0cf69d29f89efcfee949e5de (diff) | |
Diffstat (limited to 'contrib/tzcode')
| -rw-r--r-- | contrib/tzcode/zic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tzcode/zic.c b/contrib/tzcode/zic.c index 64937d9b0d36..812814b70cfa 100644 --- a/contrib/tzcode/zic.c +++ b/contrib/tzcode/zic.c @@ -1842,7 +1842,7 @@ getsave(char *field, bool *isdst) static void inrule(char **fields, int nfields) { - struct rule r; + struct rule r = { 0 }; if (nfields != RULE_FIELDS) { error(_("wrong number of fields on Rule line")); @@ -1921,7 +1921,7 @@ inzsub(char **fields, int nfields, bool iscont) { register char * cp; char * cp1; - struct zone z; + struct zone z = { 0 }; int format_len; register int i_stdoff, i_rule, i_format; register int i_untilyear, i_untilmonth; |
