summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-31 17:10:22 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-31 17:10:22 +0200
commit4a9beff74d5ede4acb82c8f7deb3555a4f7bd724 (patch)
tree415974ab61647668ceacf81aa3216fbb18cccbfa
parenta593d806dde970519b997c619e9e690e0aa1bcfc (diff)
downloadbiboumi-4a9beff74d5ede4acb82c8f7deb3555a4f7bd724.tar.gz
biboumi-4a9beff74d5ede4acb82c8f7deb3555a4f7bd724.tar.bz2
biboumi-4a9beff74d5ede4acb82c8f7deb3555a4f7bd724.tar.xz
biboumi-4a9beff74d5ede4acb82c8f7deb3555a4f7bd724.zip
Remove some unused function parameters names
-rw-r--r--src/xmpp/adhoc_command.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmpp/adhoc_command.cpp b/src/xmpp/adhoc_command.cpp
index a0d99a0..419c3ae 100644
--- a/src/xmpp/adhoc_command.cpp
+++ b/src/xmpp/adhoc_command.cpp
@@ -21,7 +21,7 @@ bool AdhocCommand::is_admin_only() const
return this->admin_only;
}
-void PingStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_node)
+void PingStep1(XmppComponent*, AdhocSession&, XmlNode& command_node)
{
XmlNode note("note");
note["type"] = "info";
@@ -30,7 +30,7 @@ void PingStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_no
command_node.add_child(std::move(note));
}
-void HelloStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_node)
+void HelloStep1(XmppComponent*, AdhocSession&, XmlNode& command_node)
{
XmlNode x("jabber:x:data:x");
x["type"] = "form";
@@ -55,7 +55,7 @@ void HelloStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_n
command_node.add_child(std::move(x));
}
-void HelloStep2(XmppComponent* xmpp_component, AdhocSession& session, XmlNode& command_node)
+void HelloStep2(XmppComponent*, AdhocSession& session, XmlNode& command_node)
{
// Find out if the name was provided in the form.
XmlNode* x = command_node.get_child("x", "jabber:x:data");
@@ -89,7 +89,7 @@ void HelloStep2(XmppComponent* xmpp_component, AdhocSession& session, XmlNode& c
session.terminate();
}
-void DisconnectUserStep1(XmppComponent* xmpp_component, AdhocSession& session, XmlNode& command_node)
+void DisconnectUserStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_node)
{
XmlNode x("jabber:x:data:x");
x["type"] = "form";