Commit 4a9beff7 authored by louiz’'s avatar louiz’

Remove some unused function parameters names

parent a593d806
...@@ -21,7 +21,7 @@ bool AdhocCommand::is_admin_only() const ...@@ -21,7 +21,7 @@ bool AdhocCommand::is_admin_only() const
return this->admin_only; return this->admin_only;
} }
void PingStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_node) void PingStep1(XmppComponent*, AdhocSession&, XmlNode& command_node)
{ {
XmlNode note("note"); XmlNode note("note");
note["type"] = "info"; note["type"] = "info";
...@@ -30,7 +30,7 @@ void PingStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_no ...@@ -30,7 +30,7 @@ void PingStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_no
command_node.add_child(std::move(note)); 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"); XmlNode x("jabber:x:data:x");
x["type"] = "form"; x["type"] = "form";
...@@ -55,7 +55,7 @@ void HelloStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_n ...@@ -55,7 +55,7 @@ void HelloStep1(XmppComponent* xmpp_component, AdhocSession&, XmlNode& command_n
command_node.add_child(std::move(x)); 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. // Find out if the name was provided in the form.
XmlNode* x = command_node.get_child("x", "jabber:x:data"); XmlNode* x = command_node.get_child("x", "jabber:x:data");
...@@ -89,7 +89,7 @@ void HelloStep2(XmppComponent* xmpp_component, AdhocSession& session, XmlNode& c ...@@ -89,7 +89,7 @@ void HelloStep2(XmppComponent* xmpp_component, AdhocSession& session, XmlNode& c
session.terminate(); 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"); XmlNode x("jabber:x:data:x");
x["type"] = "form"; x["type"] = "form";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment