From 0fde148a9fcdd151859b667d4f8a9c48de2c0620 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 5 Sep 2011 22:00:50 +1000 Subject: [PATCH] Fix dialyzer warnings --- src/mod_shared_roster.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index 286cac972..4b2bd75e2 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -30,6 +30,7 @@ -behaviour(gen_mod). -export([start/2, stop/1, + item_to_xml/1, webadmin_menu/3, webadmin_page/3, get_user_roster/2, get_subscription_lists/3, @@ -726,8 +727,6 @@ displayed_to_groups(GroupName, LServer) -> lists:member(GroupName, proplists:get_value(displayed_groups, Opts, [])) end, GroupsOpts). -push_item(_User, _Server, _From, none) -> - ok; push_item(User, Server, From, Item) -> %% It was %% ejabberd_sm:route(jlib:make_jid("", "", ""),