diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-06-01 11:08:45 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-06-01 11:08:45 (GMT) |
commit | 65bf5d8ba0fd41a70434671df433bae23e9b0af3 (patch) | |
tree | e141acab9d6c6c865fb2ab6917e489a07e558c25 | |
parent | dcc7c34464540d83a35e5c06241518ec26499f7f (diff) | |
download | swift-contrib-65bf5d8ba0fd41a70434671df433bae23e9b0af3.zip swift-contrib-65bf5d8ba0fd41a70434671df433bae23e9b0af3.tar.bz2 |
Squelch warning
-rw-r--r-- | Swiften/Parser/PayloadParsers/ErrorParserFactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/ErrorParserFactory.h b/Swiften/Parser/PayloadParsers/ErrorParserFactory.h index 8616cbc..1463807 100644 --- a/Swiften/Parser/PayloadParsers/ErrorParserFactory.h +++ b/Swiften/Parser/PayloadParsers/ErrorParserFactory.h @@ -17,7 +17,7 @@ namespace Swift { ErrorParserFactory(PayloadParserFactoryCollection* factories) : factories(factories) { } - virtual bool canParse(const std::string& element, const std::string& ns, const AttributeMap&) const { + virtual bool canParse(const std::string& element, const std::string& /*ns*/, const AttributeMap&) const { return element == "error"; } |