Page MenuHomeFreeBSD

D38037.diff
No OneTemporary

D38037.diff

diff --git a/contrib/tzcode/zic.c b/contrib/tzcode/zic.c
--- a/contrib/tzcode/zic.c
+++ b/contrib/tzcode/zic.c
@@ -1842,7 +1842,7 @@
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 @@
{
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;

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 25, 6:41 AM (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12711189
Default Alt Text
D38037.diff (526 B)

Event Timeline