25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

Fix warning about unused variables

This commit is contained in:
Badlop 2010-12-13 11:08:53 +01:00
parent aee3e30232
commit a47caa8c54

View File

@ -1001,8 +1001,8 @@ prepare_outpacket_response(Sess, _Rid, OutPacket, false) ->
end; end;
%% Handle a new session along with its output payload %% Handle a new session along with its output payload
prepare_outpacket_response(#http_bind{id=Sid, wait=Wait, prepare_outpacket_response(#http_bind{id=Sid, wait=Wait,
hold=Hold, to=To}=Sess, hold=Hold, to=To}=_Sess,
Rid, OutPacket, true) -> _Rid, OutPacket, true) ->
case OutPacket of case OutPacket of
[{xmlstreamstart, _, OutAttrs} | Els] -> [{xmlstreamstart, _, OutAttrs} | Els] ->
AuthID = exmpp_xml:get_attribute_from_list_as_list(OutAttrs, <<"id">>, ""), AuthID = exmpp_xml:get_attribute_from_list_as_list(OutAttrs, <<"id">>, ""),