aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-02 21:51:27 +0200
committerLoïc Hoguin <[email protected]>2019-10-02 21:51:27 +0200
commite4a535cfa6e27ac09c3f90b735748ad31cd78039 (patch)
tree6725f8c13f59d84c94195e53e276580c1426812b
parenteaa052616f7c85d4daf4817ceecd5f87fecfc8f4 (diff)
downloadcowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.tar.gz
cowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.tar.bz2
cowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.zip
Fix another Dialyzer warning
-rw-r--r--src/cowboy_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 6670781..505765a 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -272,7 +272,7 @@ cancel_timeout(State=#state{timer=TimerRef}) ->
_ ->
%% Do a synchronous cancel and remove the message if any
%% to avoid receiving stray messages.
- erlang:cancel_timer(TimerRef),
+ _ = erlang:cancel_timer(TimerRef),
receive
{timeout, TimerRef, _} -> ok
after 0 ->