25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix unused vars warning

This commit is contained in:
Taufan Aditya 2015-01-09 01:00:26 +07:00
parent e7e8f2f63a
commit 864e113256
3 changed files with 3 additions and 3 deletions

View File

@ -300,7 +300,7 @@ get_password_with_authmodule(User, Server) ->
-spec is_user_exists(binary(), binary()) -> boolean().
is_user_exists(User, <<"">>) ->
is_user_exists(_User, <<"">>) ->
false;
is_user_exists(User, Server) ->

View File

@ -2349,7 +2349,7 @@ create_node(Host, ServerHost, Node, Owner, GivenType, Access, Configuration) ->
{result, {NodeId, _SubsByDepth, default}} ->
ejabberd_hooks:run(pubsub_create_node, ServerHost, [ServerHost, Host, Node, NodeId, NodeOptions]),
{result, Reply};
{result, {NodeId, _SubsByDepth, Result}} ->
{result, {NodeId, _SubsByDepth, _Result}} ->
ejabberd_hooks:run(pubsub_create_node, ServerHost, [ServerHost, Host, Node, NodeId, NodeOptions]),
{result, Reply};
Error ->

View File

@ -142,7 +142,7 @@ process([<<"change_password">>],
{404, [], ErrorText}
end;
process(Path, _Request) ->
process(_Path, _Request) ->
{404, [], "Not Found"}.
%%%----------------------------------------------------------------------