From cc06299343476f6bda799cb55c060601543b7cf4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 May 2010 17:37:46 +0200 Subject: Get rid of unused argument warning in generated code --- xsd/cxx/tree/stream-extraction-source.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xsd') 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); -- cgit v1.1