From 612b94596ad38263464c27da26a7186e7c22cca9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jul 2013 08:45:31 +0200 Subject: Suppress new GCC 4.8 warnings in tests --- tests/cxx/tree/naming/camel/driver.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/cxx/tree/naming/camel') diff --git a/tests/cxx/tree/naming/camel/driver.cxx b/tests/cxx/tree/naming/camel/driver.cxx index 677dfdd..d3ea320 100644 --- a/tests/cxx/tree/naming/camel/driver.cxx +++ b/tests/cxx/tree/naming/camel/driver.cxx @@ -29,6 +29,7 @@ main () { Gender::Value v; v = Gender::female; + XSD_UNUSED (v); } // Anonymous type. @@ -49,6 +50,8 @@ main () // { Type::FooType* p = 0; + XSD_UNUSED (p); + Type::FooOptional o; if (t.foo ().present ()) @@ -61,6 +64,7 @@ main () // { Type::BarType* p = 0; + XSD_UNUSED (p); if (t.bar () != "bar") return 1; @@ -72,6 +76,8 @@ main () // { Type::BazType* p = 0; + XSD_UNUSED (p); + Type::BazSequence s; Type::BazIterator i (s.begin ()); Type::BazConstIterator ci (s.begin ()); -- cgit v1.1