From 855e4b2635dbf475cbe185409796235607efb906 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Sun, 10 Jan 2010 10:45:05 +0000 Subject: [PATCH] fixed unused param warnings --- examples/SAX/xmlbase.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/SAX/xmlbase.cpp b/examples/SAX/xmlbase.cpp index 51e5b1bd..e6f4a4ff 100644 --- a/examples/SAX/xmlbase.cpp +++ b/examples/SAX/xmlbase.cpp @@ -64,8 +64,10 @@ int main(int argc, char* argv[]) } // main -void hrefPrinter::startElement(const std::string&, const std::string& localName, - const std::string&, const Arabica::SAX::Attributes& atts) +void hrefPrinter::startElement(const std::string& /* namespaceURI */, + const std::string& /* localName */, + const std::string& /* qName */, + const Arabica::SAX::Attributes& atts) { xmlbaseTracker_.startElement(atts); @@ -76,8 +78,9 @@ void hrefPrinter::startElement(const std::string&, const std::string& localName, std::cout << "href '" << href << "' resolves to the URI '" << xmlbaseTracker_.makeAbsolute(href) << "'" << std::endl; } // startElement -void hrefPrinter::endElement(const std::string&, const std::string& localName, - const std::string&) +void hrefPrinter::endElement(const std::string& /* namespaceURI */, + const std::string& /* localName */, + const std::string& /* qName */) { xmlbaseTracker_.endElement(); } // endElement