Merge pull request #3363 from dnelson-1901/zero-tm

This commit is contained in:
Dustin L. Howett authored and GitHub committed 2026-08-07 22:39:45 -05:00
commit f7b8423a0a
1 file changed
+1 -1
+1 -1
View File
@@ -1866,7 +1866,7 @@ read_header(struct archive_read *a, struct archive_entry *entry,
static time_t
get_time(int ttime)
{
struct tm tm;
struct tm tm = { };
tm.tm_sec = 2 * (ttime & 0x1f);
tm.tm_min = (ttime >> 5) & 0x3f;
tm.tm_hour = (ttime >> 11) & 0x1f;