diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-07-18 22:51:51 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-07-18 22:51:51 +0000 |
commit | 203f6879717553bf6d8d47338756db6d81d83ff9 (patch) | |
tree | 9a9905f9ee7002a973cf4bc8e05a7b861bc51f7a /libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp | |
parent | 19fa3376100f59d083383a5db03a969a4a45066b (diff) | |
download | bcm5719-llvm-203f6879717553bf6d8d47338756db6d81d83ff9.tar.gz bcm5719-llvm-203f6879717553bf6d8d47338756db6d81d83ff9.zip |
Cleanup warnings in test/std/depr
llvm-svn: 242627
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp index 47e1527fb17..d1cc4431bc7 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp @@ -34,10 +34,10 @@ int main() { - size_t s = 0; - div_t d; - ldiv_t ld; - lldiv_t lld; + size_t s = 0; ((void)s); + div_t d; ((void)d); + ldiv_t ld; ((void)ld); + lldiv_t lld; ((void)lld); char** endptr = 0; static_assert((std::is_same<decltype(atof("")), double>::value), ""); static_assert((std::is_same<decltype(atoi("")), int>::value), ""); |