diff options
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/src/locale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 854fd239cfa..542c0d7a20f 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -4864,7 +4864,7 @@ template <> void __time_get_storage<char>::init(const ctype<char>& ct) { - tm t; + tm t = {0}; char buf[100]; // __weeks_ for (int i = 0; i < 7; ++i) |

