diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:23:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:23:00 +0000 |
commit | 803b3a091c225d48395508a8f9ffa6e08cbddc5b (patch) | |
tree | a3168c9e7da8991c423b5978aacf90c3c2b135c1 /sys-utils/hwclock-parse-date.y | |
parent | Releasing progress-linux version 2.40-8~progress7.99u1. (diff) | |
download | util-linux-803b3a091c225d48395508a8f9ffa6e08cbddc5b.tar.xz util-linux-803b3a091c225d48395508a8f9ffa6e08cbddc5b.zip |
Merging upstream version 2.40.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sys-utils/hwclock-parse-date.y')
-rw-r--r-- | sys-utils/hwclock-parse-date.y | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/hwclock-parse-date.y b/sys-utils/hwclock-parse-date.y index 834d8af..0d996cc 100644 --- a/sys-utils/hwclock-parse-date.y +++ b/sys-utils/hwclock-parse-date.y @@ -1265,16 +1265,16 @@ int parse_date(struct timespec *result, char const *p, time_t Start; intmax_t Start_ns; struct tm const *tmp; - struct tm tm; - struct tm tm0; - parser_control pc; - struct timespec gettime_buffer; + struct tm tm = { 0 }; + struct tm tm0 = { 0 }; + parser_control pc = { 0 }; + struct timespec gettime_buffer = { 0 }; unsigned char c; int tz_was_altered = 0; char *tz0 = NULL; char tz0buf[TZBUFSIZE]; int ok = 1; - struct timeval tv; + struct timeval tv = { 0 }; if (! now) { gettimeofday (&tv, NULL); |