diff options
author | Loïc Hoguin <[email protected]> | 2019-10-02 21:51:27 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-02 21:51:27 +0200 |
commit | e4a535cfa6e27ac09c3f90b735748ad31cd78039 (patch) | |
tree | 6725f8c13f59d84c94195e53e276580c1426812b /src | |
parent | eaa052616f7c85d4daf4817ceecd5f87fecfc8f4 (diff) | |
download | cowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.tar.gz cowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.tar.bz2 cowboy-e4a535cfa6e27ac09c3f90b735748ad31cd78039.zip |
Fix another Dialyzer warning
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_http.erl | 2 |
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 -> |