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

Fix dialyzer warning

This commit is contained in:
Paweł Chmielowski 2023-01-16 12:14:21 +01:00
parent 89918865b0
commit 26a7107cd5

View File

@ -216,10 +216,8 @@ handle_info({Tag, TCPSock, TCPData},
case Res2 of
{noreply, _, State2} ->
{noreply, State2};
{stop_after, Res3, State2} ->
{stop, Res3, State2};
_ ->
Res2
{Tag3, Res3, State2} when Tag3 == stop; Tag3 == stop_after ->
{stop, Res3, State2}
end;
handle_info({Tag, TCPSock, TCPData},
#state{codec = Codec} = State)