From 3245e1f34b67d24bfd71fb7d2f100be1046a1b5f Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 14 Jun 2016 03:21:49 +0000 Subject: Fix warnings in tests. llvm-svn: 272629 --- libcxx/test/std/language.support/support.runtime/ctime.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std/language.support/support.runtime/ctime.pass.cpp') diff --git a/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp b/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp index 5f294860518..34343b247f2 100644 --- a/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp @@ -25,7 +25,7 @@ int main() std::clock_t c = 0; std::size_t s = 0; std::time_t t = 0; - std::tm tm = {0}; + std::tm tm = {}; ((void)c); // Prevent unused warning ((void)s); // Prevent unused warning ((void)t); // Prevent unused warning -- cgit v1.2.3