aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_ws.erl
diff options
context:
space:
mode:
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