diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-03-19 09:28:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-03-19 09:28:37 +0200 |
commit | 4b3b5d47300f27dfda25caa9deff3f5ab1560cc8 (patch) | |
tree | deb7e1c36bd53f221e669bdd98eb45a45ef5d363 /tests/cxx/tree/naming/java/driver.cxx | |
parent | 2ff19bd5b0ab8bb13a94177ca6c172ae42e7d534 (diff) |
Resolve Clang, GCC warnings
Diffstat (limited to 'tests/cxx/tree/naming/java/driver.cxx')
-rw-r--r-- | tests/cxx/tree/naming/java/driver.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cxx/tree/naming/java/driver.cxx b/tests/cxx/tree/naming/java/driver.cxx index 1e4adde..da9e077 100644 --- a/tests/cxx/tree/naming/java/driver.cxx +++ b/tests/cxx/tree/naming/java/driver.cxx @@ -28,6 +28,7 @@ main () { Gender::Value v; v = Gender::female; + XSD_UNUSED (v); } // Anonymous type. @@ -48,6 +49,7 @@ main () // { Type::FooType* p = 0; + XSD_UNUSED (p); Type::FooOptional o; if (t.getFoo ().present ()) @@ -60,6 +62,7 @@ main () // { Type::BarType* p = 0; + XSD_UNUSED (p); if (t.getBar () != "bar") return 1; @@ -71,9 +74,13 @@ main () // { Type::BazType* p = 0; + XSD_UNUSED (p); + Type::BazSequence s; Type::BazIterator i (s.begin ()); Type::BazConstIterator ci (s.begin ()); + XSD_UNUSED (i); + XSD_UNUSED (ci); if (t.getBaz () != s) return 1; @@ -87,6 +94,8 @@ main () Type::AnySequence s (t.getDomDocument ()); Type::AnyIterator i (s.begin ()); Type::AnyConstIterator ci (s.begin ()); + XSD_UNUSED (i); + XSD_UNUSED (ci); if (t.getAny () != s) return 1; @@ -111,6 +120,8 @@ main () Type::AnyAttributeSet s (t.getDomDocument ()); Type::AnyAttributeIterator i (s.begin ()); Type::AnyAttributeConstIterator ci (s.begin ()); + XSD_UNUSED (i); + XSD_UNUSED (ci); if (t.getAnyAttribute () != s) return 1; |