diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-14 15:52:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-14 15:52:38 +0000 |
commit | 346bd6a2082416d1e23cd4483c1a36db2ca6d8cf (patch) | |
tree | 6b992a30882ade7353151beb6f936f54a2127f88 /libcxx/test/std/depr | |
parent | 9c05b2bc3b848f40731d0207170f6f2d08aba9f3 (diff) | |
download | bcm5719-llvm-346bd6a2082416d1e23cd4483c1a36db2ca6d8cf.tar.gz bcm5719-llvm-346bd6a2082416d1e23cd4483c1a36db2ca6d8cf.zip |
Placate unused variable warnings uncovered by improvements to clang's -Wunused-variable
llvm-svn: 315809
Diffstat (limited to 'libcxx/test/std/depr')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp | 1 | ||||
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp index 0e3fd3e990b..4effd9653e5 100644 --- a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp @@ -14,4 +14,5 @@ int main() { std::complex<double> d; + (void)d; } diff --git a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp index 965a8de3c56..91727b6cc72 100644 --- a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp @@ -14,6 +14,7 @@ int main() { std::complex<double> cd; + (void)cd; double x = sin(1.0); (void)x; // to placate scan-build } |