summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-14 03:21:49 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-14 03:21:49 +0000
commit3245e1f34b67d24bfd71fb7d2f100be1046a1b5f (patch)
treea96bd37aa26927a49e5cf8b01168f7e6f21b8bbf /libcxx/test/std/language.support/support.runtime/ctime.pass.cpp
parent15b311c75244afa19d0cfd4057b397e5829ebad4 (diff)
downloadbcm5719-llvm-3245e1f34b67d24bfd71fb7d2f100be1046a1b5f.tar.gz
bcm5719-llvm-3245e1f34b67d24bfd71fb7d2f100be1046a1b5f.zip
Fix warnings in tests.
llvm-svn: 272629
Diffstat (limited to 'libcxx/test/std/language.support/support.runtime/ctime.pass.cpp')
-rw-r--r--libcxx/test/std/language.support/support.runtime/ctime.pass.cpp2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud