diff --git a/src/locale.cpp b/src/locale.cpp index 7f4068949..1b242f120 100644 --- a/src/locale.cpp +++ b/src/locale.cpp @@ -4551,7 +4551,7 @@ template <> string __time_get_storage::__analyze(char fmt, const ctype& ct) { - tm t; + tm t = {0}; t.tm_sec = 59; t.tm_min = 55; t.tm_hour = 23; @@ -4698,7 +4698,7 @@ template <> wstring __time_get_storage::__analyze(char fmt, const ctype& ct) { - tm t; + tm t = {0}; t.tm_sec = 59; t.tm_min = 55; t.tm_hour = 23;