From ad39742b05af0abf78e84622b4d5aff4ea5c6067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 26 Aug 2015 17:28:25 +0200 Subject: Fix a Dialyzer warning in cow_ws --- src/cow_ws.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cow_ws.erl b/src/cow_ws.erl index c89c17a..611bfef 100644 --- a/src/cow_ws.erl +++ b/src/cow_ws.erl @@ -315,7 +315,7 @@ frag_state(_, 1, _, FragState) -> FragState. %% Empty last frame of compressed message. parse_payload(Data, _, Utf8State, _, _, 0, {fin, _, << 1:1, 0:2 >>}, #{inflate := Inflate, inflate_takeover := TakeOver}, _) -> - zlib:inflate(Inflate, << 0, 0, 255, 255 >>), + _ = zlib:inflate(Inflate, << 0, 0, 255, 255 >>), case TakeOver of no_takeover -> zlib:inflateReset(Inflate); takeover -> ok -- cgit v1.2.3