From 65bf5d8ba0fd41a70434671df433bae23e9b0af3 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Wed, 1 Jun 2011 12:08:45 +0100 Subject: Squelch warning 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"; } -- cgit v0.10.2-6-g49f6