summaryrefslogtreecommitdiffstats
path: root/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp')
-rw-r--r--libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp b/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp
index c4c9e8587c2..a2ef814dcae 100644
--- a/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp
+++ b/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp
@@ -19,4 +19,5 @@ int main()
{
std::complex<double> cd;
double x = sin(1.0);
+ (void)x; // to placate scan-build
}
OpenPOWER on IntegriCloud