mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix another Dialyzer warning
This commit is contained in:
parent
eaa052616f
commit
e4a535cfa6
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ cancel_timeout(State=#state{timer=TimerRef}) ->
|
||||||
_ ->
|
_ ->
|
||||||
%% Do a synchronous cancel and remove the message if any
|
%% Do a synchronous cancel and remove the message if any
|
||||||
%% to avoid receiving stray messages.
|
%% to avoid receiving stray messages.
|
||||||
erlang:cancel_timer(TimerRef),
|
_ = erlang:cancel_timer(TimerRef),
|
||||||
receive
|
receive
|
||||||
{timeout, TimerRef, _} -> ok
|
{timeout, TimerRef, _} -> ok
|
||||||
after 0 ->
|
after 0 ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue