25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Merge pull request #399 from toopay/patch-cleanup-unused-vars

Fix unused vars warning
This commit is contained in:
Evgeny Khramtsov 2015-01-08 21:47:20 +03:00
commit 17a7844e40
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"}.
%%%----------------------------------------------------------------------