24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Fix unused variables

This commit is contained in:
Badlop 2010-10-05 13:47:07 +02:00
parent 8647ca5f0b
commit 645ddcb749
2 changed files with 0 additions and 3 deletions

View File

@ -211,7 +211,6 @@ get_user_info(User, Server, Resource)
end,
if is_list(Ss), Ss /= [] ->
Session = lists:max(Ss),
N = node(element(2, Session#session.sid)),
Conn = proplists:get_value(conn, Session#session.info),
IP = proplists:get_value(ip, Session#session.info),
Priority = Session#session.priority, %% integer()

View File

@ -464,8 +464,6 @@ record_to_item(LServer, {Username, FN, Family, Given, Middle,
search(LServer, Data) ->
MatchSpec = make_matchspec(LServer, Data),
AllowReturnAll = gen_mod:get_module_opt(LServer, ?MODULE,
allow_return_all, false),
Limit = case gen_mod:get_module_opt(LServer, ?MODULE,
matches, ?JUD_MATCHES) of
infinity ->