aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_ws.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-08-26 17:28:25 +0200
committerLoïc Hoguin <[email protected]>2015-08-26 17:28:25 +0200
commitad39742b05af0abf78e84622b4d5aff4ea5c6067 (patch)
treeb2f823417d1820997a0d2c09f2cdddcd235bbe66 /src/cow_ws.erl
parentf46178daf9b434dbee4299572322e6c6756a3ce4 (diff)
downloadcowlib-ad39742b05af0abf78e84622b4d5aff4ea5c6067.tar.gz
cowlib-ad39742b05af0abf78e84622b4d5aff4ea5c6067.tar.bz2
cowlib-ad39742b05af0abf78e84622b4d5aff4ea5c6067.zip
Fix a Dialyzer warning in cow_ws
Diffstat (limited to 'src/cow_ws.erl')
-rw-r--r--src/cow_ws.erl2
1 files changed, 1 insertions, 1 deletions
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