summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-19 17:37:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-19 17:37:46 +0200
commitcc06299343476f6bda799cb55c060601543b7cf4 (patch)
tree4b2686b6442dee6b955c4e5790f5534aee2e1d35
parent7fed604c4a6ad1b2506fbc6df26296705917fc02 (diff)
Get rid of unused argument warning in generated code
-rw-r--r--xsd/cxx/tree/stream-extraction-source.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xsd/cxx/tree/stream-extraction-source.cxx b/xsd/cxx/tree/stream-extraction-source.cxx
index 1378bc6..0828c79 100644
--- a/xsd/cxx/tree/stream-extraction-source.cxx
+++ b/xsd/cxx/tree/stream-extraction-source.cxx
@@ -613,7 +613,8 @@ namespace CXX
<< unclash (name, "parse") << " (" <<
istream_type << "< " << i->c_str () << " >& s," << endl
<< flags_type << " f)"
- << "{";
+ << "{"
+ << "XSD_UNUSED (f);"; // Can be unused.
{
Element element (*this, *i);
Attribute attribute (*this);